UITextField Input character problem

First, I set the keyboard to the simplified Chinese Pinyin 10 key. When I click ABC, the proxy method in UITextField will return emoji, why?

    public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
        // string is "➋", "➌", "➍", "➎", "➏", "➐", "➑", "➒", "☻"
        print(string)
        return true
    }

Did you by any chance manage to fix this problem? We are experiencing the same thing starting the 2nd character!

UITextField Input character problem
 
 
Q