C# Class Gnu.Inet.Encoding.NFKC

Exibir arquivo Open project: pexip/os-libidn Class Usage Examples

Public Methods

Method Description
NormalizeNFKC ( string sbIn ) : string

Applies NFKC normalization to a string.

Private Methods

Method Description
canonicalOrdering ( StringBuilder sbIn ) : void

Rearranges characters in a stringbuffer in order to respect the canonical ordering properties.

combiningClass ( char c ) : int

Returns the combining class of a given character.

compose ( char a, char b ) : int

Tries to compose two characters canonically.

composeHangul ( char a, char b ) : int

Composes two hangul characters.

composeIndex ( char a ) : int

Returns the index inside the composition table.

decomposeHangul ( char s ) : string

Decomposes a hangul character.

decomposeIndex ( char c ) : int

Returns the index inside the decomposition table, implemented using a binary search.

Method Details

NormalizeNFKC() public static method

Applies NFKC normalization to a string.
public static NormalizeNFKC ( string sbIn ) : string
sbIn string
return string