Sign in Join
FPDoc Onlineexperiment

UTF8ToDBCS function

In unit LConvEncoding

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

Declaration

pascal
function UTF8ToDBCS(const s: string; 
 const UTF8CharConvFunc: TUnicodeToCharID): string

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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.