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


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


Source position: systemh.inc line 1146

procedure SetMultiByteFileSystemCodePage(

  CodePage: TSystemCodePage



SetMultiByteFileSystemCodePage sets the codepage used in single-byte OS filesystem 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 Filesystem APIs changes, and strings passed to the codepage-aware filesystem APIs will be passed using the new codepage.

This constant is not used if the filesystem 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



Codepage to use for filenames



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



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

Documentation generated on: Mar 17 2017