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

stephane ducasse stephane.ducasse at free.fr
Sat Sep 27 06:18:30 UTC 2008


>>
> 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?
>
>
> Convert from UTF-8 to "Squeak"
> aString converFromEncoding: 'utf-8'
>
> For checking out all the encodings your image supports:
> TextConverter allEncodingNames
>
> Cheers
> Philippe
>




More information about the Squeak-dev mailing list