[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

SetMultiByteRTLFileSystemCodePage

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

Declaration

Source position: systemh.inc line 1243

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

SetMultiByteFileSystemCodePage

  

Set codepage used when passing strings to OS single-byte file system APIs

SetMultiByteConversionCodePage

  

Set codepage for conversions from multi-byte strings to single-byte strings

SetMultiByteRTLFileSystemCodePage

  

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


Documentation generated on: Jun 23 2021