This is the first time we've attempted to support anything outside of ISO-8859-1 (Western Europe). At this point, we're not externalizing messages or anything like that. We just want to be able to have our users enter Czech and Greek characters into entry fields.
I know that I have my Windows regional settings correct (XP) because inspecting
- Code: Select all
Locale current
Locale(czech-czechoslovakia)
platformStringIndex = 1
platformStringClass = String
language = 'czech'
territory = 'czechoslovakia'
countryAbbreviation = 'CS'
platformId = '5,1,1029,1029'
codeSet = ''
keyboard = ''
The problem I'm focusing on is that we have our entry fields set to uppercase. When tabbing out of the entry fields, it is uppercasing but to wrong values. I've looked at the converter/helper code and it simply calls String>>asUppercase to do the core of it's work.
The core of that method is essentially:
- Code: Select all
LCCType default asUppercase: (Character value: 233)
'ěščřžýáíé' asUppercase ===> 'EŠCRŽÝÁÍÉ'
'ěščřžýáíé' asByteArray ===> [101 154 99 114 158 253 225 237 233]
So, asByteArray isn't giving me what I expect. An "e with a caron" (ě) is supposed to be 236, but the byte array shows 101. Even then, executing the code
- Code: Select all
LCCType default asUppercase: (Character value: 236)
just returns the same value, instead of the upper case value.
It looks like I'm still getting ISO-8859-1 because if I inspect
- Code: Select all
Character value: 236
Thanks in advance!