mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 05:08:06 +02:00
* 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:
parent
80cec37d06
commit
d1b2a5f362
@ -700,7 +700,7 @@ procedure InitWin32Widestrings;
|
||||
|
||||
DefaultSystemCodePage:=GetACP;
|
||||
DefaultUnicodeCodePage:=CP_UTF16;
|
||||
DefaultFileSystemCodePage:=DefaultSystemCodePage;
|
||||
DefaultRTLFileSystemCodePage:=DefaultFileSystemCodePage;
|
||||
DefaultFileSystemCodePage:=CP_UTF8;
|
||||
DefaultRTLFileSystemCodePage:=DefaultSystemCodePage;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user