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

SetMultiByteFileSystemCodePage

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

Declaration

Source position: systemh.inc line 1242

procedure SetMultiByteFileSystemCodePage(

  CodePage: TSystemCodePage

);

Description

SetMultiByteFileSystemCodePage sets the codepage used in single-byte OS file system APIs to CodePage. The effect of this change is that the default codepage used to translate multi-byte (UTF-16) strings to single-byte codepage-aware strings used in File system APIs changes, and strings passed to the codepage-aware file system APIs will be passed using the new codepage.

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

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

See also

DefaultFileSystemCodePage

  

Codepage to use for filenames

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 22 2020