* changed the initial value DefaultFileSystemCodePage from CP_ACP to CP_UTF8:

o since we always use UTF-16 for OS file API calls, this will only affect
     possible intermediate code page conversions inside RTL routines and hence
     prevent potential data loss. This was already the same for NativeNT and
     WinCE, which are in the same boat
   o DefaultRTLFileSystemCodePage, which specifies the code page used to return
     strings from single byte RTL routines, remains CP_ACP and hence nothing
     will change as far as programs using the RTL are concerned

git-svn-id: trunk@26377 -
This commit is contained in:
Jonas Maebe 2014-01-04 15:05:42 +00:00
parent 80cec37d06
commit d1b2a5f362

View File

@ -700,7 +700,7 @@ procedure InitWin32Widestrings;
DefaultSystemCodePage:=GetACP;
DefaultUnicodeCodePage:=CP_UTF16;
DefaultFileSystemCodePage:=DefaultSystemCodePage;
DefaultRTLFileSystemCodePage:=DefaultFileSystemCodePage;
DefaultFileSystemCodePage:=CP_UTF8;
DefaultRTLFileSystemCodePage:=DefaultSystemCodePage;
end;