[fpc-devel] UTF8Encode widestring encoding

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Aug 26 12:28:45 CEST 2008


Hello,

I read the code for UTF8Encode and UTF8Decode routines and they seam
to suppose that the widestring encoding is UCS-2! Instead of UTF-16

Is this the expected behavior or is it only partially implemented?

Someone added UTF8 <-> UTF16 conversion routines in the LCL, so they
could be used to repair UTF8Encode / Decode.

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list