private function normalize($str)
{
$str = (string) $str;
if (!isset($this->cache[$str])) {
$this->cache[$str] = $str;
if ($str !== '') {
if ($this->iconv) {
$transliterated = @iconv('UTF-8', 'ASCII//IGNORE//TRANSLIT', $str);
if ($transliterated !== false) {
$this->cache[$str] = $transliterated;
}
}
}
}
return $this->cache[$str];
}