[Lazarus] UTF16 2 utf8

Marc Weustink marc.weustink at cuperus.nl
Wed May 4 17:58:32 CEST 2011


Graeme Geldenhuys wrote:
> On 04/05/2011 14:38, Eduard Filipas wrote:
>> I read that MS SQL server 2008 uses UCS2 which is UTF-16 ...im realy
>> cofused by all this
>
>
> UCS2<>  UTF-16
>
> UCS2 is a subset of UTF-16. It doesn't cover all code points that
> Unicode defines, which UTF-8, UTF-16, UTF-32 does.

Till 1996 (Unicode 2.0) you are right. After that date they are equal.

Marc




More information about the Lazarus mailing list