[fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"

Michael Schnell mschnell at lumino.de
Wed Nov 26 12:45:24 CET 2014

On 11/26/2014 12:13 PM, Mattias Gaertner wrote:
> In mode delphiunicode String=UnicodeString.
I see.

So even in Delphi XE where "UnicodeString" is denoted by "CP_UTF16", the 
value of the constant CP_UTF16 is not the same as the value of the 
(constant or) variable CP_ACP, (while OTOH using the value of CP_UTF16 
in a type or variable definition performs the same as using 0 {is 
CP_DEFAULT name of the appropriate constant ?} ).

I understand that fpc with "mode delphiunicode" is supposed to work in 
the same way.


More information about the fpc-devel mailing list