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

UTF8ToCP932

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

Declaration

Source position: lconvencoding.pas line 215

function UTF8ToCP932(

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

Description

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

See also

SetCodePage


Version 3.2 Generated 2024-02-25 Home