On 12 July 2011 18:12, Lukas Renggli <renggli@gmail.com> wrote:
What do you mean with 'whatever you do, you end up with a broken system' ? Any concrete examples ?
If you do not encode, then you have "unreadable" strings in the image and operations like #copyFrom:to:, #size, #indexOf:, ... might answer unexpected or invalid results, because UTF-8 strings are just treated as byte arrays.
If you do encode, then you have "readable" strings in the image but you might run into widestring/encoding problems (check the open issues on the tracker).
so, what about adding a string subclass UT8String so it can be readable and with correct encoding? :)
Do you have a pointer to Philippe's presentation ?
http://www.slideshare.net/esug/esug-unicode
Lukas
-- Lukas Renggli www.lukas-renggli.ch
-- Best regards, Igor Stasenko AKA sig.