[fpc-devel] Controlling the output of the widestring manager

Daniël Mantione daniel.mantione at freepascal.org
Wed Dec 5 09:08:07 CET 2007



Op Tue, 4 Dec 2007, schreef Jonas Maebe:

> 
> On 02 Dec 2007, at 20:40, Florian Klaempfl wrote:
> 
> > BTW: for other encodings it doesn't work either on unix ...
> 
> Are widestrings supposed to be UTF-16 or UCS-2 on unix? Currently they are
> UTF-16, but a lot of routines seem to assume UCS-2 (like the generic
> WideStringToUCS4String, and the unix Lower/UpperWideString)

This is correct for upper/lower case conversion; alphabets with 
upper/lower case needs are placed inside the BMP.

Daniël


More information about the fpc-devel mailing list