[Lazarus] UTF16 2 utf8

Eduard Filipas eduard.filipas at volja.net
Wed May 4 18:38:23 CEST 2011


my problem is that i dont get local characters in data aware objects

im connected via odbcConnection (charSet is set to UTF-8) to ms sql 
server express 2008
same problems i get vith zeos components

within Database string fields are all nvarchar(x)

regards
edo

S, Marc Weustink piše:
> 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
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list