[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Code page in which to return system-returned filenames
Source position: systemh.inc line 730
var DefaultRTLFileSystemCodePage: TSystemCodePage; |
DefaultRTLFileSystemCodePage determines the code page to which file/path names are translated before they are returned from RawByteString file/path RTL routines.
Examples include the file/path names returned by the RawbyteString versions of SysUtils.FindFirst and GetDir.
The main reason for its existence is to enable the RTL to provide backward compatibility with earlier versions of FPC, as these always returned strings encoded in whatever the OS' single byte API used (normally DefaultSystemCodePage).
The initial value of this variable depends on the platform:
The value of this variable can be set using the SetMultiByteRTLFileSystemCodePage call.
|
Current system codepage. |
|
|
Codepage to use for filenames |
|
|
Set codepage used when interpreting strings from OS single-byte file system APIs |