[Newbies] Re: Character #asciiValue vs #charCode

Sean P. DeNigris sean at clipperadams.com
Sat Jan 8 01:16:49 UTC 2011


#asciiValue - could there be an ascii character with a leadingChar, or will
this always be 0 for non-eastern characters?  Should there be any error
checking - what is the meaning of ascii value for a non-ascii char?

#leadingChar
"In Squeak Character encoding, bits above 16r3FFFFF don't encode the
character, but hold information about the language environment and the
encoding which should be used to interpret the charCode. The background of
which is Han unification (http://en.wikipedia.org/wiki/Han_unification)."

How's that as a method comment?  Is it really "In Squeak... encoding..." or
does this apply to unicode in general?

Sean
-- 
View this message in context: http://forum.world.st/Character-asciiValue-vs-charCode-tp3190047p3204606.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list