lithium\util\Inflector::$_transliteration
Contains a default map of accented and special characters to ASCII characters. Can be
extended or added to using Inflector::rules()
.
Source
protected static $_transliteration = [
'/à|á|å|â/' => 'a',
'/Á|À|Å|Â/' => 'A',
'/è|é|ė|ê|ẽ|ë/' => 'e',
'/É|È|Ė|Ê|Ē|Ë/' => 'E',
'/ì|í|î/' => 'i',
'/Í|Ì|Î/' => 'I',
'/ò|ó|ơ|ô|ø/' => 'o',
'/Ò|Ó|Ơ|Ô|Ø/' => 'O',
'/ù|ú|ů|û/' => 'u',
'/Ú|Ù|Ů|Û/' => 'U',
'/ç|ć|č/' => 'c',
'/Č|Ć|Č/' => 'C',
'/đ/' => 'dj',
'/Đ/' => 'Dj',
'/DŽ/' => 'Dz',
'/š/' => 's',
'/Š/' => 'S',
'/ž/' => 'z',
'/Ž/' => 'Z',
'/ñ/' => 'n',
'/Ñ/' => 'N',
'/ä|æ/' => 'ae',
'/Ä/' => 'Ae',
'/ö/' => 'oe',
'/Ö/' => 'Oe',
'/ü/' => 'ue',
'/Ü/' => 'Ue',
'/ß/' => 'ss'
];