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

UTF8ToCP949

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

Declaration

Source position: lconvencoding.pas line 217

function UTF8ToCP949(

  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 949.

Description

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

See also

SetCodePage


Version 3.2 Generated 2024-02-25 Home