On 20 August 2012 18:42, Hans-Peter Diettrich <[email protected]> wrote: > *only* handle Unicode BMP characters, not surrogate pairs, and you have to > decide whether this restriction is okay for you.
Such a restriction should NEVER be okay! Otherwise Unicode support is incomplete. That is what makes UTF-8 so great. It's perfect for (byte) streaming, no little- or big-endian to worry about, already the correct encoding for HTML, XML and in fact 99.99% of all text files, and NO SURROGATE PAIRS. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
