[squeak-dev] how to create an UTF-8 character

Philippe Marschall philippe.marschall at gmail.com
Sat Sep 27 17:05:59 UTC 2008


2008/9/27 stephane ducasse <stephane.ducasse at free.fr>:
>>>
>> Am I the only one using the generic en/decoding functionality in
>> Squeak in the form of #convertTo/FromEncoding?
>>
>> Convert from "Squeak" to UTF-8
>> aString convertToEncoding: 'utf-8'
>
>
> do I understand correctly that such a aString is a sequence of unicode
> codepoints?

Plus leading char. If you look at UTF8TextConverter it will give every
incoming character with an index higher than 255 the language of the
image. I don't need to explain why this is problematic in the context
of a web application, do I?

Cheers
Philippe



More information about the Squeak-dev mailing list