[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LConvEncoding' (#lazutils)

UTF8ToCP936

Converts a string from UTF-8 encoding to Code Page 936.

Declaration

Source position: lconvencoding.pas line 216

function UTF8ToCP936(

  const s: string;

  SetTargetCodePage: Boolean = False

):RawByteString;

Arguments

s

  

String value using UTF-8 encoding.

SetTargetCodePage

  

True to set the code page for the result, False to use the ANSI code page.

Function result

String value after conversion to code page 936.

Description

UTF8ToCP936 is defined for platforms where Asian code pages are enabled.

See also

SetCodePage


Version 3.2 Generated 2024-02-25 Home