diff --git a/src/Pluf/Text/UTF8.php b/src/Pluf/Text/UTF8.php index a04f2ad..f47d3cb 100644 --- a/src/Pluf/Text/UTF8.php +++ b/src/Pluf/Text/UTF8.php @@ -140,7 +140,6 @@ class Pluf_Text_UTF8 'Windows-1251' => 0, 'CP-866' => 0, 'ISO-8859-5' => 0, - 'MacCyrillic' => 0 ); $length = strlen($str); for ($i=0; $i<$length; $i++) { @@ -161,10 +160,6 @@ class Pluf_Text_UTF8 if ($char > 223 && $char < 256) $charsets['Windows-1251']+=3; if ($char > 191 && $char < 224) $charsets['Windows-1251']+=1; - //MAC - if ($char > 221 && $char < 255) $charsets['MacCyrillic']+=3; - if ($char > 127 && $char < 160) $charsets['MacCyrillic']+=1; - //ISO-8859-5 if ($char > 207 && $char < 240) $charsets['ISO-8859-5']+=3; if ($char > 175 && $char < 208) $charsets['ISO-8859-5']+=1;