From: Rik Hemsley Date: 2001-12-03T21:55:45+09:00 Subject: [ruby-talk:27346] Re: Unicode string for the standard library ? #if Henning von Rosen > > I am wondering if anyone else is missing an Unicode string as much as I > > am, and if they have ideas/information on what might happen in this > > direction in the future. > > > > Rik > > the utf-8 representation works fine for me, as regexes do support them. Is UTF-8 really ok ? Qt uses QString, which is a collection of QChar, which is UCS-2 (er, 2 bytes, I think that's the right name.) I would guess that the reason for this is because byte != character, and with an Unicode string, you want to deal with characters. Hmm, I'm no Unicode expert :| Would it be better for Ruby to have 'UChar' and 'UString' classes, or is it really a better solution to store string data as UTF-8 ? Rik