Hello. The code for Windows version of NeedRTLAnsi has:
FNeedRTLAnsi:=GetACP<>CP_UTF8; Is it possible that CP_UTF8 will ever be returned by GetACP? I know that CP_UTF8 exists on the list of codepages but I suspect it has only been added for use in functions like MultiByteToWideChar, SetConsoleOutputCP. The MSDN says GetACP returns ANSI code page and CP_UTF8 is not an ANSI codepage. I have found an old page where in the comments an MS developers says GetACP does not support UTF-8. http://blogs.msdn.com/b/michkap/archive/2007/05/11/2547703.aspx?PageIndex=1#comments -- cobines -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
