ScroogeXHTML for Object Pascal 9.3
Loading...
Searching...
No Matches
IUnicodeConverter Interface Reference

Interface for Unicode conversion operations. More...

Inheritance diagram for IUnicodeConverter:
TUnicodeConverter

Public Member Functions

string CharToUnicode (const AnsiChar C)
 Converts a single character to its Unicode representation.
TCharSet GetCharSet ()
 Retrieves the current character set.
Boolean GetDBCS ()
 Checks if the character set is a double-byte character set (DBCS).
 SetCharSet (const TCharSet Value)
 Sets the character set.
 SetDBCS (const Boolean Value)
 Sets whether the character set is a double-byte character set (DBCS).

Public Attributes

TCharSet CharSet
 The current character set of the text node.
Boolean DBCS
 Indicates whether the character set is a double-byte character set.

Detailed Description

Interface for Unicode conversion operations.

This interface provides methods and properties for handling Unicode character conversion, including character set management and double-byte character set (DBCS) support.

Member Function Documentation

◆ CharToUnicode()

string IUnicodeConverter::CharToUnicode ( const AnsiChar C)

Converts a single character to its Unicode representation.

Parameters
CThe AnsiChar to convert.
Returns
The Unicode representation as a string.

Implemented in TUnicodeConverter.

◆ GetCharSet()

TCharSet IUnicodeConverter::GetCharSet ( )

Retrieves the current character set.

Returns
The current TCharSet value.

◆ GetDBCS()

Boolean IUnicodeConverter::GetDBCS ( )

Checks if the character set is a double-byte character set (DBCS).

Returns
True if the character set is DBCS, otherwise False.

◆ SetCharSet()

IUnicodeConverter::SetCharSet ( const TCharSet Value)

Sets the character set.

Parameters
ValueThe TCharSet value to set.

◆ SetDBCS()

IUnicodeConverter::SetDBCS ( const Boolean Value)

Sets whether the character set is a double-byte character set (DBCS).

Parameters
ValueBoolean indicating if the character set is DBCS.

Member Data Documentation

◆ CharSet

TCharSet IUnicodeConverter::CharSet

The current character set of the text node.

See also
GetCharSet For reading
SetCharSet For writing

◆ DBCS

Boolean IUnicodeConverter::DBCS

Indicates whether the character set is a double-byte character set.

See also
GetDBCS For reading
SetDBCS For writing