Skip to content

SetMultiByteRTLFileSystemCodePage

Set codepage used when interpreting strings from OS single-byte file system APIs

Declaration

Source position: systemh.inc line 1326

  procedure SetMultiByteRTLFileSystemCodePage(CodePage: TSystemCodePage);

Description

SetMultiByteRTLFileSystemCodePage sets the codepage used to interpreted strings returned by single-byte OS file system APIs to CodePage.

The effect of this change is that the default codepage used to translate single byte strings obtained from the OS to single-byte codepage-aware strings or multi-byte strings changes, and strings obtained from the codepage-aware file system APIs will be interpreted using the new codepage.

his constant is not used if the file system API of the OS is multi-byte (such as on Windows).

Do not set DefaultRTLFileSystemCodePage directly, as additional actions may need to be done when changing the code page.

See also

Name Description
SetMultiByteConversionCodePage Set codepage for conversions from multi-byte strings to single-byte strings
SetMultiByteFileSystemCodePage Set codepage used when passing strings to OS single-byte file system APIs
SetMultiByteRTLFileSystemCodePage Set codepage used when interpreting strings from OS single-byte file system APIs