Sign in Join
FPDoc Onlineexperiment

TConvertOption enumeration

In unit LazUTF8

Indicates options enabled during UTF-8 <-> UTF-16 conversions.

Declaration

pascal
TConvertOption = (toInvalidCharError,toInvalidCharToSymbol,
 toUnfinishedCharError,toUnfinishedCharToSymbol)

Description

TConvertOption is an enumeration type with values that indicate options enabled during UTF-8 <-> UTF-16 conversions.

Values

toInvalidCharErrorStop on invalid source char and report error.
toInvalidCharToSymbolReplace invalid source chars with '?'
toUnfinishedCharErrorStop on unfinished source char and report error.
toUnfinishedCharToSymbolReplace unfinished source char with '?'

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.