2011/11/8 Felipe Monteiro de Carvalho <[email protected]>: > On Tue, Nov 8, 2011 at 9:50 PM, cobines <[email protected]> wrote: >> FNeedRTLAnsi:=GetACP<>CP_UTF8; > > This is used by FileUtil in Windows for Windows 9x support > >> Is it possible that CP_UTF8 will ever be returned by GetACP? > > I've never heard of a Windows localization where this occurs. > >> 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. > > This is my understanding too.
So can the implementation of NeedRTLAnsi on Windows be changed to return always True? Or is it needed to read the variable because it can be set by SetNeedRTLAnsi. Or at least GetACP<>CP_UTF8 might be exchanged to True. -- cobines -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
