UTF16 conversion
Martin Kuball
martinkuball at web.de
Sat Jan 14 15:19:00 UTC 2006
Hi!
I have a ByteArray with 2-byte characters in it. Now I want to convert
it into a WideString. How can I do this?
My first idea to use
byteArray asString convertToWithConverter: UTF16TextConverter new
gives a String object (wrong class?) with double the size of the
original ByteArray instead of half the size. So, what's the right
way?
Martin
More information about the Squeak-dev
mailing list
|