On 2016-03-25 12:23, Michael Van Canneyt wrote: > Correction, this particular function does not depend on cwstrings.
When you say "this particular function" you are referring to the UTF8Decode() function correct? The documentation page for UTF8Decode has explicitly removed the reference [that it requires a widestring manager] that was there before... http://www.freepascal.org/docs-html/current/rtl/system/utf8decode.html But, it does mention that it uses the low-level Utf8ToUnicode() function. Now lets see that function's documentation. http://www.freepascal.org/docs-html/current/rtl/system/utf8tounicode.html And here it mentions that a widestring manager IS required for it to function. So if UTF8Decode depends on UTF8ToUnicode, then by definition UTF8Decode also depends on a widestring manager. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal