Mattias Gaertner wrote:
On Wed, 04 May 2011 17:58:32 +0200
Marc Weustink<[email protected]> wrote:
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.
Ehm, isn't it the other way round?
The Unicode 2.0 added UTF-16 as successor of UCS2. UCS2 is still
fixed 2 byte. They are not the same (Graeme is right).
According to unicode.org, when UTF-16 got introduced, the USC2 standard
was extended. So yes they are the same.
In some cases when ppl refer to USC2 they mean the old unicode 1.1
standard, but that is wrong. The name USC2 is misleading and should not
be used anymore.
Marc
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus