C# Class UniHax.UniChar

A 32-bit representation of a Unicode character. Treats all characters as a 32 bit value. Gives access to a character's code point as a string. [!] Only handles the Basic Mulitlingual Plane (BMP). Code points > U+FFFF will throw exceptions. [!] Does NOT support surrogate pairs.
Datei anzeigen Open project: cweb/unicode-hax Class Usage Examples

Public Properties

Property Type Description
Character string
CodePoint string

Public Methods

Method Description
ConvertCharacterToCodePoint ( char character ) : string
ConvertCharacterToString ( char character ) : string
ConvertCodePointToString ( string codepoint ) : string
GetCodePoint ( char c ) : string

Method Details

ConvertCharacterToCodePoint() public method

public ConvertCharacterToCodePoint ( char character ) : string
character char
return string

ConvertCharacterToString() public method

public ConvertCharacterToString ( char character ) : string
character char
return string

ConvertCodePointToString() public method

public ConvertCodePointToString ( string codepoint ) : string
codepoint string
return string

GetCodePoint() public method

public GetCodePoint ( char c ) : string
c char
return string

Property Details

Character public_oe property

public string Character
return string

CodePoint public_oe property

public string CodePoint
return string