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

TConvertEncodingFunction

Specifies a function used to convert a single-byte string value to a specific multi-byte encoding.

Declaration

Source position: lconvencoding.pas line 126

type TConvertEncodingFunction = function(

  const s: string

):string;

Arguments

s

  

Single-byte string value examined and converted in the routine.

Function result

Value after converting the value to the required encoding.

Description

TConvertEncodingFunction is the type used for the ConvertAnsiToUTF8 variable.

See also

ConvertAnsiToUTF8

  

Contains the routine used to convert an ANSI string value to UTF-8 encoding.

ConvertUTF8ToAnsi

  

Contains the routine used to convert from UTF-8 encoding to ANSI encoding.

TConvertUTF8ToEncodingFunc

  

Specifies a function used to convert a string value from UTF-8 encoding to another encoding with an optional code page.


Version 4.0 Generated 2025-05-03 Home