[Newbies] Re: Character #asciiValue vs #charCode

Andreas Raab andreas.raab at gmx.de
Sat Jan 8 08:19:06 UTC 2011


On 1/8/2011 2:16 AM, Sean P. DeNigris wrote:
> #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?

It is Squeak specific. Unicode does not have a leading char.

Cheers,
   - Andreas


More information about the Beginners mailing list