[ANSI-Smalltalk] Behaviour of #collect:
Bruce Badger
bwbadger at gmail.com
Thu Sep 25 07:16:24 BST 2008
2008/9/25 Richard O'Keefe <ok at cs.otago.ac.nz>:
> One way to handle Unicode in strings is rather like the way
> Interlisp-D used to do it. You keep strings as narrow as you
> can, only widening them when you store a wider character than
> they can currently hold.
Why not just a collection of code points (i.e. Integers) for the
strings? I think this is how VW does it. Surely the wide/narrow
thing is an encoding problem and that would be addressed with UTF8 or
something if that ilk.
... and then on the Unicode front we need to cover the issues of
locale, collating sequences etc. that Phillipe raised at ESUG.
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/
More information about the ANSI-Smalltalk
mailing list