[fpc-pascal] cwstrings unit and UTF8Decode()

Michael Van Canneyt michael at freepascal.org
Fri Mar 25 13:21:02 CET 2016

On Fri, 25 Mar 2016, Graeme Geldenhuys wrote:

> Hi,
> I'm using FPC 2.6.4 primarily. Am I correct in that UTF8Decode and most
> (if not all) UTF8-to-UTF16 conversions don't function correctly (or not
> at all) if you don't include the cwstrings unit in your project? I
> referring to Unix-based OSes here. I believe Windows automatically
> include the WideString Manager for you.

Yes, this is correct.


More information about the fpc-pascal mailing list