[christin.livine at urbanisme.gov.pf: [fdo] UTF-16 support ?]

Rolf Magnus ramagnus at kde.org
Tue Jun 15 16:20:27 EEST 2004

On Tuesday 15 June 2004 14:42, Mike Hearn wrote:

> As for Qt: http://handhelds.org/~zecke/apidocs/qt/unicode.html
> There are a few mistakes in this page but it's rather old, so that's
> forgivable. For starters Unicode isn't a 16 bit character set, as there
> are multiple possible encodings. UTF-16 is only one. But, it sounds like
> when Unicode was first added to Qt UTF-8 perhaps either did not exist or
> wasn't widespread. I suspect the decision to use UTF-16 was also
> encouraged by the fact that it would make (a) coding the Windows Qt
> version easier and (b) for Windows users it would be easier to mix Qt and
> Win32 APIs.

Are you sure Qt uses UFT-16 for QString? AFAIK, it uses UCS-2, which is not 
the same. 

More information about the xdg mailing list