[fpc-pascal] cwstrings unit and UTF8Decode()

Michael Van Canneyt michael at freepascal.org
Fri Mar 25 13:23:22 CET 2016

On Fri, 25 Mar 2016, Michael Van Canneyt wrote:

> 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.

Correction, this particular function does not depend on cwstrings.
All the other widestring (uppercase, compare etc) functions do.


More information about the fpc-pascal mailing list