Sign in Join
FPDoc Onlineexperiment

UTF8ToCP950 function

In unit LConvEncoding

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

Declaration

pascal
function UTF8ToCP950(const s: string; SetTargetCodePage: Boolean=False)
: RawByteString

Arguments

s

String value using UTF-8 encoding.

SetTargetCodePageTrue 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.