List of characters for the certain language

Some languages contain specific symbols, such as “•■

To be sure about what characters may appear in your output, please use the following code:

 System.Text.StringBuilder supportedCharacters = new System.Text.StringBuilder();
string languageName = "French";
FREngine.ITextLanguage textLagnuage = engineLoader.Engine.PredefinedLanguages.Find(languageName).TextLanguage;
foreach (FREngine.IBaseLanguage baseLanguage in textLagnuage.BaseLanguages) {
supportedCharacters.AppendFormat("Alphabet letters: {0}\n", baseLanguage.LetterSet[FREngine.BaseLanguageLetterSetEnum.BLLS_Alphabet]);
supportedCharacters.AppendFormat("Prefixes: {0}\n", baseLanguage.LetterSet[FREngine.BaseLanguageLetterSetEnum.BLLS_Prefixes]);
supportedCharacters.AppendFormat("Suffixes: {0}\n", baseLanguage.LetterSet[FREngine.BaseLanguageLetterSetEnum.BLLS_Suffixes]);
}
supportedCharacters.AppendFormat("Punctuation marks: {0}\n", textLagnuage.LetterSet[FREngine.TextLanguageLetterSetEnum.TLLS_InterwordPunctuators], textLagnuage.LetterSet[FREngine.TextLanguageLetterSetEnum.TLLS_Prefixes], textLagnuage.LetterSet[FREngine.TextLanguageLetterSetEnum.TLLS_Suffixes]);
MessageBox.Show(supportedCharacters.ToString());

Sample output for English:

Alphabet letters: '-.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz’
Prefixes: "'(-.[{©—‘’“•■□▲△►▻▼▽◄◅◊◎◦★☆♦✓❖
Suffixes: !"')*,-.:;?]}©®—’”™
Punctuation marks: !"#$%&'()*+,-./:;<=>?[]_{}£¥§©«°»—’“”„•€■□▲△►▻▼▽◄◅◊◎◦★☆♦✓❖

 

Sample output for French (please note symbols added: ÀÂÆÇÈÉÊËÎÏÔÙÛÜàâæçèéêëîïôùûüÿŒœŸ)

Alphabet letters: '-.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÂÆÇÈÉÊËÎÏÔÙÛÜàâæçèéêëîïôùûüÿŒœŸ’
Prefixes: "'(-.[{©«—‘“•■□▲△►▻▼▽◄◅◊◎◦★☆♦✓❖
Suffixes: !"')*,-.:;?]}©®»—’”™
Punctuation marks: !"#$%&'()*+,-./:;<=>?[]_{}£¥§©«°»—’“”„•€■□▲△►▻▼▽◄◅◊◎◦★☆♦✓❖

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Recently viewed