TConvertUTF8ToEncodingFunc procedure type
Specifies a function used to convert a string value from UTF-8 encoding to another encoding with an optional code page.
Declaration
TConvertUTF8ToEncodingFunc = function(const s: string;
SetTargetCodePage: Boolean=False)
: RawByteStringArguments
s | UTF-8-encoded string value converted in the routine. |
SetTargetCodePage | True to set the target code page, False if the code page is not needed. |
Function result
Value for the string using the code page / encoding implemented in the routine.
Description
TConvertUTF8ToEncodingFunc is the type used for the ConvertUTF8ToAnsi
variable in lconvencoding.pas.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
