[fpc-devel] Controlling the output of the widestring manager
marc at dommelstein.net
Tue Dec 4 23:08:33 CET 2007
Jonas Maebe wrote:
> 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)
It is a bit confusing, but for a while now UCS-2 uses UTF-16 as
encoding. So even UCS-2 is nowadays not fixed length.
I guess you mean the UCS-2 standard from the times that each char was 2
More information about the fpc-devel