Descriptionaura: Supports text input on non UTF-8 environments.
We have assumed that XLookupString always returns a UTF-8 string, but it's not true. It could be any other encoding depending on the system locale and we have to support it.
The root cause of the Issue 376893 is
1. XLookupString returns a ISO-8859-1 string (for example)
2. We converts it by UTF8ToUTF16.
3. The resulting character code is zero.
4. Cannot input a (non-ASCII) character.
BUG=376893
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277003
Patch Set 1 #Patch Set 2 : Synced. #Patch Set 3 : Synced. #Patch Set 4 : Addressed review comments. #
Total comments: 2
Patch Set 5 : Synced. #Messages
Total messages: 17 (0 generated)
|