Am 2014-11-20 um 17:21 schrieb Mattias Gaertner:
> The development version of FPC 2.7.1 has extended Strings and many RTL
> functions now work for codepages other than the system codepage.
....
> 2. The new mode: The LCL, FCL and RTL treat all "String" as UTF-8 encoded.
...
> When accessing the WinAPI you must use the W functions or use
> UTF8ToWinCP and WinCPToUTF8.

Is this correct?
The W functions of the WinAPI expect UTF16 so
a conversion needs to be done in both cases,
either to System code page or to UTF16.
Or can we use STRING with WinAPI W functions directly?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to