Graeme Geldenhuys wrote:
(AFAI understand, a Widechar is just 16 bit, it would need to
be 32 bit if surrogates were allowed in Widestrings).

Good question and I have been wondering about this myself.  In D2009
SizeOf(Char) = 2, so I have no idea how that works with surrogate
pairs. Can anybody explain this please?
In http://www.jacobthurman.com/?p=30 you can find some explanation.

In http://blogs.codegear.com/abauer/2008/01/09/38845 tries to explain why UTF16

Luiz


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to