strings (was: Unicode support)

jecel at lsi.usp.br jecel at lsi.usp.br
Tue Sep 21 20:43:14 UTC 1999


Early versions of Self had Character objects, just like Squeak does.
But later this was changed so that one character strings represented
the characters instead:

     'hello world' at: 4

has 'o' as the result. This overloaded the strings a bit (since they
now had to handle the character protocol as well), but nothing major
broke and now characters were no longer automatically assumed to be
a byte. Maybe something like this could be done for Squeak as well.

-- Jecel





More information about the Squeak-dev mailing list