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

UTF8ToDBCS

Converts a value from UTF-8 encoding to a Double Byte Character Set encoding.

Declaration

Source position: lconvencoding.pas line 221

function UTF8ToDBCS(

  const s: string;

  const UTF8CharConvFunc: TUnicodeToCharID

):string;

Arguments

s

  

String value using UTF-8 encoding.

UTF8CharConvFunc

  

Conversion routine used to translate characters to the double-byte encoding used in the result.

Function result

String value using the double-byte character set generated in the conversion function.

Description

Defined for platforms where Asian code pages are enabled. This is a common function used in all conversion routines which convert UTF-8 to an Asian code page.


Version 3.2 Generated 2024-02-25 Home