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

SetMultiByteConversionCodePage

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

Declaration

Source position: systemh.inc line 1145

procedure SetMultiByteConversionCodePage(

  CodePage: TSystemCodePage

);

Description

SetMultiByteConversionCodePage sets DefaultSystemCodePage 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 changes, and code page conversions will be done to the new codepage.

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

See also

DefaultSystemCodePage

  

Current system codepage.

SetMultiByteFileSystemCodePage

  

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

SetMultiByteRTLFileSystemCodePage

  

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


Documentation generated on: Mar 17 2017