[fpc-devel] assign constant text to widestring
Michael Schnell
mschnell at lumino.de
Thu Oct 23 13:41:22 CEST 2008
> utf-16 application shouldn't do this
> either: it doesn't handle surrogates properly
Right you are. For me WideString is UCS2 and not UTF16, as I regard it
as a sequence of WideChar so that the Unicode user code can be done
using WideChar and WideString. WideChar only has 16 Bits. So this
restrict us to Unicode Characters < $FFFF.
I doubt that I ever will need to use Unicode Characters > $FFFF, but of
course there _are_ other projects.
-Michael
More information about the fpc-devel
mailing list