cCharacterConverter

A diacritic mark or diacritic is a mark added to a letter to alter a word's pronunciation or to distungish between similar words. However, users of foreign languages are unable to type diacritics (either because the keyboard mapping doesn't support them, or they are looking to similar to other characters). Examples for conversions:

German diacritic char � maps to u and ue.

Developers can use the diacritic search implemented in the GenericDB to automatically handle diacritic search conversion.

 Methods

__construct()

__construct() 

cCharacterConverter()

cCharacterConverter() 
deprecated 2012-08-24 Use __construct()

fetchDiacriticCharactersForNormalizedChar()

fetchDiacriticCharactersForNormalizedChar($sEncoding, $cNormalizedChar) 

Parameters

$sEncoding

$cNormalizedChar

fetchNormalizedCharsForDiacriticCharacter()

fetchNormalizedCharsForDiacriticCharacter(\unknown_type $sEncoding, \unknown_type $cCharacter) : \multitype:NULL

Parameters

$sEncoding

\unknown_type

$cCharacter

\unknown_type

Exceptions

\cInvalidArgumentException if the given character is longer than one char

Returns

\multitype:NULL

_correctEncoding()

_correctEncoding($sEncoding) 

Parameters

$sEncoding

 Properties

 

$_aAliasCache 
 

$_aCharCache 
 

$_oDB