C# 클래스 UniHax.Mappings

The Mappings class gives access to bestfit and Unicode normalization character mappings.
파일 보기 프로젝트 열기: cweb/unicode-hax

공개 메소드들

메소드 설명
BuildBestfitTable ( char cAscii, List &lBestFit, string sCharset = "" ) : void

Build a data table for all of an ASCII character's bestfit mappings.

BuildTransformationsTable ( char cAscii, List &lTransformations, string sTransform = "" ) : void

Build a data table for all of an ASCII character's bestfit mappings.

GetAvailableBestfitCharsets ( ) : List

Get a unique list of the charsets from the bestfit database.

GetAvailableTransforms ( ) : List

Get a unique list of the charsets from the bestfit database.

GetBestfitMappings ( char cAscii, string sCharset = "" ) : List

Send me an ASCII character and I'll return you a list of Unicode characters that best fit map to it. Since you're not telling me a specific charset your're interested in, I'm going to send you data for all of them.

GetNormalizationMappings ( char cAscii, string sTransform = "" ) : List

Get all normalization mappings for an ASCII character. Optionally specify a specific transform as a filter.

Mappings ( ) : System

비공개 메소드들

메소드 설명
Init ( ) : void

메소드 상세

BuildBestfitTable() 공개 메소드

Build a data table for all of an ASCII character's bestfit mappings.
public BuildBestfitTable ( char cAscii, List &lBestFit, string sCharset = "" ) : void
cAscii char The ASCII character to query on.
lBestFit List Reference to a List you want to populate with data.
sCharset string An optional charset to filter results by. ///
리턴 void

BuildTransformationsTable() 공개 메소드

Build a data table for all of an ASCII character's bestfit mappings.
public BuildTransformationsTable ( char cAscii, List &lTransformations, string sTransform = "" ) : void
cAscii char The ASCII character to query on.
lTransformations List Reference to a List you want to populate with data.
sTransform string An optional charset to filter results by.
리턴 void

GetAvailableBestfitCharsets() 공개 메소드

Get a unique list of the charsets from the bestfit database.
public GetAvailableBestfitCharsets ( ) : List
리턴 List

GetAvailableTransforms() 공개 메소드

Get a unique list of the charsets from the bestfit database.
public GetAvailableTransforms ( ) : List
리턴 List

GetBestfitMappings() 공개 메소드

Send me an ASCII character and I'll return you a list of Unicode characters that best fit map to it. Since you're not telling me a specific charset your're interested in, I'm going to send you data for all of them.
public GetBestfitMappings ( char cAscii, string sCharset = "" ) : List
cAscii char The ASCII character to query on.
sCharset string An option charset name to filter by, valid values include: /// APL-ISO-IR-68 /// CP424 /// IBMGRAPH /// US-ASCII-QUOTES /// windows-1250 /// windows-1251 /// windows-1252 /// windows-1253 /// windows-1254 /// windows-1255 /// windows-1256 /// windows-1257 /// windows-1258 /// windows-874 /// CP864 /// CP037 /// CP1026 /// CP500 /// CP875 /// DINGBATS /// KEYBOARD /// SYMBOL /// symbol /// zdingbat /// JAPANESE /// GSM0338 ///
리턴 List

GetNormalizationMappings() 공개 메소드

Get all normalization mappings for an ASCII character. Optionally specify a specific transform as a filter.
public GetNormalizationMappings ( char cAscii, string sTransform = "" ) : List
cAscii char A single ASCII character.
sTransform string Valid transformations specified as: /// /// Simple_Lowercase_Mapping /// Lowercase_Mapping /// Simple_Case_Folding /// cf /// Simple_Uppercase_Mapping /// Simple_Titlecase_Mapping /// Uppercase_Mapping /// Titlecase_Mapping /// Decomposition_Mapping /// FC_NFKC ///
리턴 List

Mappings() 공개 메소드

public Mappings ( ) : System
리턴 System