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.
-Michael _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel