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

UTF8ToCP950

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

Declaration

Source position: lconvencoding.pas line 218

function UTF8ToCP950(

  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

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

See also

SetCodePage


Version 3.2 Generated 2024-02-25 Home