Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #787 from vlakoff/toAscii
Browse files Browse the repository at this point in the history
Remove duplicate entries in toAscii() transliteration table
  • Loading branch information
fzaninotto committed Nov 30, 2015
2 parents 47df6ab + 27fa66a commit 3f86920
Showing 1 changed file with 104 additions and 106 deletions.
210 changes: 104 additions & 106 deletions src/Faker/Provider/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,112 +225,110 @@ protected static function toAscii($string)

if (empty($arrayFrom)) {
$transliterationTable = array(
'IJ' => 'I','Ö' => 'O','Œ' => 'O','Ü' => 'U','ä' => 'a','æ' => 'a',
'ij' => 'i','ö' => 'o','œ' => 'o','ü' => 'u','ß' => 's','ſ' => 's',
'À' => 'A','Á' => 'A','Â' => 'A','Ã' => 'A','Ä' => 'A','Å' => 'A',
'Æ' => 'A','Ā' => 'A','Ą' => 'A','Ă' => 'A','Ç' => 'C','Ć' => 'C',
'Č' => 'C','Ĉ' => 'C','Ċ' => 'C','Ď' => 'D','Đ' => 'D','È' => 'E',
'É' => 'E','Ê' => 'E','Ë' => 'E','Ē' => 'E','Ę' => 'E','Ě' => 'E',
'Ĕ' => 'E','Ė' => 'E','Ĝ' => 'G','Ğ' => 'G','Ġ' => 'G','Ģ' => 'G',
'Ĥ' => 'H','Ħ' => 'H','Ì' => 'I','Í' => 'I','Î' => 'I','Ï' => 'I',
'Ī' => 'I','Ĩ' => 'I','Ĭ' => 'I','Į' => 'I','İ' => 'I','Ĵ' => 'J',
'Ķ' => 'K','Ľ' => 'K','Ĺ' => 'K','Ļ' => 'K','Ŀ' => 'K','Ł' => 'L',
'Ñ' => 'N','Ń' => 'N','Ň' => 'N','Ņ' => 'N','Ŋ' => 'N','Ò' => 'O',
'Ó' => 'O','Ô' => 'O','Õ' => 'O','Ø' => 'O','Ō' => 'O','Ő' => 'O',
'Ŏ' => 'O','Ŕ' => 'R','Ř' => 'R','Ŗ' => 'R','Ś' => 'S','Ş' => 'S',
'Ŝ' => 'S','Ș' => 'S','Š' => 'S','Ť' => 'T','Ţ' => 'T','Ŧ' => 'T',
'Ț' => 'T','Ù' => 'U','Ú' => 'U','Û' => 'U','Ū' => 'U','Ů' => 'U',
'Ű' => 'U','Ŭ' => 'U','Ũ' => 'U','Ų' => 'U','Ŵ' => 'W','Ŷ' => 'Y',
'Ÿ' => 'Y','Ý' => 'Y','Ź' => 'Z','Ż' => 'Z','Ž' => 'Z','à' => 'a',
'á' => 'a','â' => 'a','ã' => 'a','ā' => 'a','ą' => 'a','ă' => 'a',
'å' => 'a','ç' => 'c','ć' => 'c','č' => 'c','ĉ' => 'c','ċ' => 'c',
'ď' => 'd','đ' => 'd','è' => 'e','é' => 'e','ê' => 'e','ë' => 'e',
'ē' => 'e','ę' => 'e','ě' => 'e','ĕ' => 'e','ė' => 'e','ƒ' => 'f',
'ĝ' => 'g','ğ' => 'g','ġ' => 'g','ģ' => 'g','ĥ' => 'h','ħ' => 'h',
'ì' => 'i','í' => 'i','î' => 'i','ï' => 'i','ī' => 'i','ĩ' => 'i',
'ĭ' => 'i','į' => 'i','ı' => 'i','ĵ' => 'j','ķ' => 'k','ĸ' => 'k',
'ł' => 'l','ľ' => 'l','ĺ' => 'l','ļ' => 'l','ŀ' => 'l','ñ' => 'n',
'ń' => 'n','ň' => 'n','ņ' => 'n','ʼn' => 'n','ŋ' => 'n','ò' => 'o',
'ó' => 'o','ô' => 'o','õ' => 'o','ø' => 'o','ō' => 'o','ő' => 'o',
'ŏ' => 'o','ŕ' => 'r','ř' => 'r','ŗ' => 'r','ś' => 's','š' => 's',
'ť' => 't','ù' => 'u','ú' => 'u','û' => 'u','ū' => 'u','ů' => 'u',
'ű' => 'u','ŭ' => 'u','ũ' => 'u','ų' => 'u','ŵ' => 'w','ÿ' => 'y',
'ý' => 'y','ŷ' => 'y','ż' => 'z','ź' => 'z','ž' => 'z','Α' => 'A',
'Ά' => 'A','' => 'A','' => 'A','' => 'A','' => 'A','' => 'A',
'' => 'A','' => 'A','' => 'A','' => 'A','' => 'A','' => 'A',
'' => 'A','' => 'A','' => 'A','' => 'A','' => 'A','' => 'A',
'' => 'A','' => 'A','' => 'A','Β' => 'B','Γ' => 'G','Δ' => 'D',
'Ε' => 'E','Έ' => 'E','' => 'E','' => 'E','' => 'E','' => 'E',
'' => 'E','' => 'E','' => 'E','Ζ' => 'Z','Η' => 'I','Ή' => 'I',
'' => 'I','' => 'I','' => 'I','' => 'I','' => 'I','' => 'I',
'' => 'I','' => 'I','' => 'I','' => 'I','' => 'I','' => 'I',
'' => 'I','' => 'I','' => 'I','' => 'I','' => 'I','' => 'I',
'Θ' => 'T','Ι' => 'I','Ί' => 'I','Ϊ' => 'I','' => 'I','' => 'I',
'' => 'I','' => 'I','' => 'I','' => 'I','' => 'I','Ἷ' => 'I',
'' => 'I','' => 'I','' => 'I','Κ' => 'K','Λ' => 'L','Μ' => 'M',
'Ν' => 'N','Ξ' => 'K','Ο' => 'O','Ό' => 'O','' => 'O','' => 'O',
'' => 'O','' => 'O','' => 'O','' => 'O','' => 'O','Π' => 'P',
'Ρ' => 'R','' => 'R','Σ' => 'S','Τ' => 'T','Υ' => 'Y','Ύ' => 'Y',
'Ϋ' => 'Y','' => 'Y','' => 'Y','' => 'Y','' => 'Y','' => 'Y',
'' => 'Y','' => 'Y','Φ' => 'F','Χ' => 'X','Ψ' => 'P','Ω' => 'O',
'Ώ' => 'O','' => 'O','' => 'O','' => 'O','' => 'O','' => 'O',
'' => 'O','' => 'O','' => 'O','' => 'O','' => 'O','' => 'O',
'' => 'O','' => 'O','' => 'O','' => 'O','' => 'O','' => 'O',
'' => 'O','α' => 'a','ά' => 'a','' => 'a','' => 'a','' => 'a',
'' => 'a','' => 'a','' => 'a','' => 'a','' => 'a','' => 'a',
'' => 'a','' => 'a','' => 'a','' => 'a','' => 'a','' => 'a',
'' => 'a','' => 'a','' => 'a','' => 'a','' => 'a','' => 'a',
'' => 'a','' => 'a','' => 'a','β' => 'b','γ' => 'g','δ' => 'd',
'ε' => 'e','έ' => 'e','' => 'e','' => 'e','' => 'e','' => 'e',
'' => 'e','' => 'e','' => 'e','ζ' => 'z','η' => 'i','ή' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','' => 'i','' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','' => 'i','' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','' => 'i','' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','θ' => 't','ι' => 'i',
'ί' => 'i','ϊ' => 'i','ΐ' => 'i','' => 'i','' => 'i','' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','' => 'i','' => 'i',
'' => 'i','' => 'i','' => 'i','' => 'i','' => 'i','κ' => 'k',
'λ' => 'l','μ' => 'm','ν' => 'n','ξ' => 'k','ο' => 'o','ό' => 'o',
'' => 'o','' => 'o','' => 'o','' => 'o','' => 'o','' => 'o',
'' => 'o','π' => 'p','ρ' => 'r','' => 'r','' => 'r','σ' => 's',
'ς' => 's','τ' => 't','υ' => 'y','ύ' => 'y','ϋ' => 'y','ΰ' => 'y',
'' => 'y','' => 'y','' => 'y','' => 'y','' => 'y','' => 'y',
'' => 'y','' => 'y','' => 'y','' => 'y','' => 'y','' => 'y',
'' => 'y','' => 'y','φ' => 'f','χ' => 'x','ψ' => 'p','ω' => 'o',
'ώ' => 'o','' => 'o','' => 'o','' => 'o','' => 'o','' => 'o',
'' => 'o','' => 'o','' => 'o','' => 'o','' => 'o','' => 'o',
'' => 'o','' => 'o','' => 'o','' => 'o','' => 'o','' => 'o',
'' => 'o','' => 'o','' => 'o','' => 'o','' => 'o','А' => 'A',
'Б' => 'B','В' => 'V','Г' => 'G','Д' => 'D','Е' => 'E','Ё' => 'E',
'Ж' => 'Z','З' => 'Z','И' => 'I','Й' => 'I','К' => 'K','Л' => 'L',
'М' => 'M','Н' => 'N','О' => 'O','П' => 'P','Р' => 'R','С' => 'S',
'Т' => 'T','У' => 'U','Ф' => 'F','Х' => 'K','Ц' => 'T','Ч' => 'C',
'Ш' => 'S','Щ' => 'S','Ы' => 'Y','Э' => 'E','Ю' => 'Y','Я' => 'Y',
'а' => 'A','б' => 'B','в' => 'V','г' => 'G','д' => 'D','е' => 'E',
'ё' => 'E','ж' => 'Z','з' => 'Z','и' => 'I','й' => 'I','к' => 'K',
'л' => 'L','м' => 'M','н' => 'N','о' => 'O','п' => 'P','р' => 'R',
'с' => 'S','т' => 'T','у' => 'U','ф' => 'F','х' => 'K','ц' => 'T',
'ч' => 'C','ш' => 'S','щ' => 'S','ы' => 'Y','э' => 'E','ю' => 'Y',
'я' => 'Y','ð' => 'd','Ð' => 'D','þ' => 't','Þ' => 'T','' => 'a',
'' => 'b','' => 'g','' => 'd','' => 'e','' => 'v','' => 'z',
'' => 't','' => 'i','' => 'k','' => 'l','' => 'm','' => 'n',
'' => 'o','' => 'p','' => 'z','' => 'r','' => 's','' => 't',
'' => 'u','' => 'p','' => 'k','' => 'g','' => 'q','' => 's',
'' => 'c','' => 't','' => 'd','' => 't','' => 'c','' => 'k',
'' => 'j','' => 'h','ā' => 'a','ţ' => 't','ʼ' => "'", '̧' => '',
'' => 'h','ʼ' => "'",'' => "'",'' => "'",'' => 'u','/' => '',
'ế' => 'e','' => 'a','' => 'i','' => 'a','' => 'e','' => 'i',
'' => 'o','' => 'e','ơ' => 'o','' => 'a','' => 'a','ư' => 'u',
'' => 'a','' => 'a','' => 'd','' => 'H','' => 'D','' => 'd',
'Ģ' => 'G','Š' => 'S','ļ' => 'l','ž' => 'z','Ē' => 'E','ņ' => 'n',
'Č' => 'C','ș' => 's','ț' => 't', '' => 'o','' => 'a','ş' => 's',
"'" => '', 'ու' => 'u','ա' => 'a','բ' => 'b','գ' => 'g','դ' => 'd',
'ե' => 'e','զ' => 'z','է' => 'e','ը' => 'y','թ' => 't','ժ' => 'zh',
'ի' => 'i','լ' => 'l','խ' => 'kh','ծ' => 'ts','կ' => 'k','հ' => 'h',
'ձ' => 'dz','ղ' => 'gh','ճ' =>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>'u', 'ū'=>'u', 'ů'=>'u',
'ű'=>'u', 'ŭ'=>'u', 'ũ'=>'u', 'ų'=>'u', 'ŵ'=>'w', 'ÿ'=>'y',
'ý'=>'y', 'ŷ'=>'y', 'ż'=>'z', 'ź'=>'z', 'ž'=>'z', 'Α'=>'A',
'Ά'=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A',
''=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A',
''=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A', ''=>'A',
''=>'A', ''=>'A', ''=>'A', 'Β'=>'B', 'Γ'=>'G', 'Δ'=>'D',
'Ε'=>'E', 'Έ'=>'E', ''=>'E', ''=>'E', ''=>'E', ''=>'E',
''=>'E', ''=>'E', ''=>'E', 'Ζ'=>'Z', 'Η'=>'I', 'Ή'=>'I',
''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I',
''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I',
''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I',
'Θ'=>'T', 'Ι'=>'I', 'Ί'=>'I', 'Ϊ'=>'I', ''=>'I', ''=>'I',
''=>'I', ''=>'I', ''=>'I', ''=>'I', ''=>'I', 'Ἷ'=>'I',
''=>'I', ''=>'I', ''=>'I', 'Κ'=>'K', 'Λ'=>'L', 'Μ'=>'M',
'Ν'=>'N', 'Ξ'=>'K', 'Ο'=>'O', 'Ό'=>'O', ''=>'O', ''=>'O',
''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O', 'Π'=>'P',
'Ρ'=>'R', ''=>'R', 'Σ'=>'S', 'Τ'=>'T', 'Υ'=>'Y', 'Ύ'=>'Y',
'Ϋ'=>'Y', ''=>'Y', ''=>'Y', ''=>'Y', ''=>'Y', ''=>'Y',
''=>'Y', ''=>'Y', 'Φ'=>'F', 'Χ'=>'X', 'Ψ'=>'P', 'Ω'=>'O',
'Ώ'=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O',
''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O',
''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O', ''=>'O',
''=>'O', 'α'=>'a', 'ά'=>'a', ''=>'a', ''=>'a', ''=>'a',
''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a',
''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a',
''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a', ''=>'a',
''=>'a', ''=>'a', ''=>'a', 'β'=>'b', 'γ'=>'g', 'δ'=>'d',
'ε'=>'e', 'έ'=>'e', ''=>'e', ''=>'e', ''=>'e', ''=>'e',
''=>'e', ''=>'e', ''=>'e', 'ζ'=>'z', 'η'=>'i', 'ή'=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', 'θ'=>'t', 'ι'=>'i',
'ί'=>'i', 'ϊ'=>'i', 'ΐ'=>'i', ''=>'i', ''=>'i', ''=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i',
''=>'i', ''=>'i', ''=>'i', ''=>'i', ''=>'i', 'κ'=>'k',
'λ'=>'l', 'μ'=>'m', 'ν'=>'n', 'ξ'=>'k', 'ο'=>'o', 'ό'=>'o',
''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o',
''=>'o', 'π'=>'p', 'ρ'=>'r', ''=>'r', ''=>'r', 'σ'=>'s',
'ς'=>'s', 'τ'=>'t', 'υ'=>'y', 'ύ'=>'y', 'ϋ'=>'y', 'ΰ'=>'y',
''=>'y', ''=>'y', ''=>'y', ''=>'y', ''=>'y', ''=>'y',
''=>'y', ''=>'y', ''=>'y', ''=>'y', ''=>'y', ''=>'y',
''=>'y', ''=>'y', 'φ'=>'f', 'χ'=>'x', 'ψ'=>'p', 'ω'=>'o',
'ώ'=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o',
''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o',
''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o',
''=>'o', ''=>'o', ''=>'o', ''=>'o', ''=>'o', 'А'=>'A',
'Б'=>'B', 'В'=>'V', 'Г'=>'G', 'Д'=>'D', 'Е'=>'E', 'Ё'=>'E',
'Ж'=>'Z', 'З'=>'Z', 'И'=>'I', 'Й'=>'I', 'К'=>'K', 'Л'=>'L',
'М'=>'M', 'Н'=>'N', 'О'=>'O', 'П'=>'P', 'Р'=>'R', 'С'=>'S',
'Т'=>'T', 'У'=>'U', 'Ф'=>'F', 'Х'=>'K', 'Ц'=>'T', 'Ч'=>'C',
'Ш'=>'S', 'Щ'=>'S', 'Ы'=>'Y', 'Э'=>'E', 'Ю'=>'Y', 'Я'=>'Y',
'а'=>'A', 'б'=>'B', 'в'=>'V', 'г'=>'G', 'д'=>'D', 'е'=>'E',
'ё'=>'E', 'ж'=>'Z', 'з'=>'Z', 'и'=>'I', 'й'=>'I', 'к'=>'K',
'л'=>'L', 'м'=>'M', 'н'=>'N', 'о'=>'O', 'п'=>'P', 'р'=>'R',
'с'=>'S', 'т'=>'T', 'у'=>'U', 'ф'=>'F', 'х'=>'K', 'ц'=>'T',
'ч'=>'C', 'ш'=>'S', 'щ'=>'S', 'ы'=>'Y', 'э'=>'E', 'ю'=>'Y',
'я'=>'Y', 'ð'=>'d', 'Ð'=>'D', 'þ'=>'t', 'Þ'=>'T', ''=>'a',
''=>'b', ''=>'g', ''=>'d', ''=>'e', ''=>'v', ''=>'z',
''=>'t', ''=>'i', ''=>'k', ''=>'l', ''=>'m', ''=>'n',
''=>'o', ''=>'p', ''=>'z', ''=>'r', ''=>'s', ''=>'t',
''=>'u', ''=>'p', ''=>'k', ''=>'g', ''=>'q', ''=>'s',
''=>'c', ''=>'t', ''=>'d', ''=>'t', ''=>'c', ''=>'k',
''=>'j', ''=>'h', 'ţ'=>'t', 'ʼ'=>"'", '̧'=>'', ''=>'h',
''=>"'", ''=>"'", ''=>'u', '/'=>'', 'ế'=>'e', ''=>'a',
''=>'i', ''=>'a', ''=>'e', ''=>'i', ''=>'o', ''=>'e',
'ơ'=>'o', ''=>'a', ''=>'a', 'ư'=>'u', ''=>'a', ''=>'a',
''=>'d', ''=>'H', ''=>'D', 'ș'=>'s', 'ț'=>'t', ''=>'o',
''=>'a', 'ş'=>'s', "'"=>'', 'ու'=>'u', 'ա'=>'a', 'բ'=>'b',
'գ'=>'g', 'դ'=>'d', 'ե'=>'e', 'զ'=>'z', 'է'=>'e', 'ը'=>'y',
'թ'=>'t', 'ժ'=>'zh', 'ի'=>'i', 'լ'=>'l', 'խ'=>'kh', 'ծ'=>'ts',
'կ'=>'k', 'հ'=>'h', 'ձ'=>'dz', 'ղ'=>'gh', 'ճ'=>'ch', 'մ'=>'m',
'յ'=>'y', 'ն'=>'n', 'շ'=>'sh', 'ո'=>'o', 'չ'=>'ch', 'պ'=>'p',
'ջ'=>'j', 'ռ'=>'r', 'ս'=>'s', 'վ'=>'v', 'տ'=>'t', 'ր'=>'r',
'ց'=>'ts', 'փ'=>'p', 'ք'=>'q', 'և'=>'ev', 'օ'=>'o', 'ֆ'=>'f',
);
$arrayFrom = array_keys($transliterationTable);
$arrayTo = array_values($transliterationTable);
Expand Down

0 comments on commit 3f86920

Please sign in to comment.