[ENH] CharacterTimes-rsb
Jecel Assumpcao Jr
jecel at merlintec.com
Wed Jun 23 14:08:10 UTC 2004
On Wednesday 23 June 2004 02:37, Richard A. O'Keefe wrote:
> [...]
> Unicode is a real pain in many ways. For example, in ASCII and
> MacRoman, aString asLowercase size = asString asUppercase size
> but in Unicode this is not in general true. In particular, there are
> quite a few Unicode characters where case-shifting must deliver a
> String, not a Character. Dealing with Unicode is so much simpler if
> you don't even try to deal with Characters, only with Strings. (And
> yes, I have tried to design Unicode character and string classes for
> Smalltalk. Ouch.)
Just a quick note - Self doesn't have characters, but allows strings of
length 1 to be used in that role. There may be some subtle problems
lurking in this system, but I found it simple and nice for what I do.
-- Jecel
More information about the Squeak-dev
mailing list
|