Japanese end-users are having trouble with string.uppercase instructions in my code. “a…z” are not converting to “A…Z”. I suspect a Locale rule for Japanese is being applied to mixed Japanese + Western text. Am I right? Where can I find the Locale rules? (Yes. Read the documentation! But where?)
My solution so far is to write my own uppercase routine, which loops through the string as bytes and changes relevant ones.
3 posts - 2 participants