For non-fixed char length there's nothing better than UTF8 (default
 ASCII compatible, ready for any future alphabets,..). For fixed-char
 length (fast string operations etc) also there's nothing better than
 UCS-2 (the Earth coverage ) & UCS-4 (the galaxy coverage).
 The non-fixed char length UTF-16 (UCS-2 + surrogate pairs) looks less
 efficient than UTF-8 almost from any look point.
==============
It assumes having FPC RTL optimized string functions for UTF-8 (
rudimental nowadays - via conversion procedures), UCS-2 (not all
functions nowadays) & UCS-4 (none nowadays).
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to