Oh, I see.
Well, I suspect convincing Qt or any other vendor to change such a basic concept as character will not be easy...
However, if this is your perspective, the current Qt classes can give some support: for instance, QChar methods like isHighSurrogate(), isLowSurrogate(), highSurrogate(uint ucs4), ushort lowSurrogate(uint ucs4), can make the UTF-32 <-> UTF-16 trips more manageable. Also, QString and QTextCodec methods to convert back and forth between UTF-8 and other encodings fully support the full Unicode plane space.
If some standard encoding for your script exists or can be devised, it is also possible to extend QTextCodec to support it, easing semi-transparent conversion between a custom encoding and UTF-xxx.
So, the current situation is not so dark...
I'm afraid, until we all (or we most...) agree that a 'real' character is 32-bit wide (odd sizes like 24 bits have no real chances) and includes properties like direction, joining, separable, etc. there will not be an easy world-wide solution.
Ciao,
M.
Bookmarks