loweraccents.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. /**
  3. * UTF-8 lookup table for lower case accented letters
  4. *
  5. * This lookuptable defines replacements for accented characters from the ASCII-7
  6. * range. This are lower case letters only.
  7. *
  8. * @author Andreas Gohr <andi@splitbrain.org>
  9. * @see \dokuwiki\Utf8\Clean::deaccent()
  10. */
  11. return [
  12. 'á' => 'a',
  13. 'à' => 'a',
  14. 'ă' => 'a',
  15. 'â' => 'a',
  16. 'å' => 'a',
  17. 'ä' => 'ae',
  18. 'ã' => 'a',
  19. 'ą' => 'a',
  20. 'ā' => 'a',
  21. 'æ' => 'ae',
  22. 'ḃ' => 'b',
  23. 'ć' => 'c',
  24. 'ĉ' => 'c',
  25. 'č' => 'c',
  26. 'ċ' => 'c',
  27. 'ç' => 'c',
  28. 'ď' => 'd',
  29. 'ḋ' => 'd',
  30. 'đ' => 'd',
  31. 'ð' => 'dh',
  32. 'é' => 'e',
  33. 'è' => 'e',
  34. 'ĕ' => 'e',
  35. 'ê' => 'e',
  36. 'ě' => 'e',
  37. 'ë' => 'e',
  38. 'ė' => 'e',
  39. 'ę' => 'e',
  40. 'ē' => 'e',
  41. 'ḟ' => 'f',
  42. 'ƒ' => 'f',
  43. 'ğ' => 'g',
  44. 'ĝ' => 'g',
  45. 'ġ' => 'g',
  46. 'ģ' => 'g',
  47. 'ĥ' => 'h',
  48. 'ħ' => 'h',
  49. 'í' => 'i',
  50. 'ì' => 'i',
  51. 'î' => 'i',
  52. 'ï' => 'i',
  53. 'ĩ' => 'i',
  54. 'į' => 'i',
  55. 'ī' => 'i',
  56. 'ı' => 'i',
  57. 'ĵ' => 'j',
  58. 'ķ' => 'k',
  59. 'ĺ' => 'l',
  60. 'ľ' => 'l',
  61. 'ļ' => 'l',
  62. 'ł' => 'l',
  63. 'ṁ' => 'm',
  64. 'ń' => 'n',
  65. 'ň' => 'n',
  66. 'ñ' => 'n',
  67. 'ņ' => 'n',
  68. 'ó' => 'o',
  69. 'ò' => 'o',
  70. 'ô' => 'o',
  71. 'ö' => 'oe',
  72. 'ő' => 'o',
  73. 'õ' => 'o',
  74. 'ø' => 'o',
  75. 'ō' => 'o',
  76. 'ơ' => 'o',
  77. 'ṗ' => 'p',
  78. 'ŕ' => 'r',
  79. 'ř' => 'r',
  80. 'ŗ' => 'r',
  81. 'ś' => 's',
  82. 'ŝ' => 's',
  83. 'š' => 's',
  84. 'ṡ' => 's',
  85. 'ş' => 's',
  86. 'ș' => 's',
  87. 'ß' => 'ss',
  88. 'ť' => 't',
  89. 'ṫ' => 't',
  90. 'ţ' => 't',
  91. 'ț' => 't',
  92. 'ŧ' => 't',
  93. 'ú' => 'u',
  94. 'ù' => 'u',
  95. 'ŭ' => 'u',
  96. 'û' => 'u',
  97. 'ů' => 'u',
  98. 'ü' => 'ue',
  99. 'ű' => 'u',
  100. 'ũ' => 'u',
  101. 'ų' => 'u',
  102. 'ū' => 'u',
  103. 'ư' => 'u',
  104. 'ẃ' => 'w',
  105. 'ẁ' => 'w',
  106. 'ŵ' => 'w',
  107. 'ẅ' => 'w',
  108. 'ý' => 'y',
  109. 'ỳ' => 'y',
  110. 'ŷ' => 'y',
  111. 'ÿ' => 'y',
  112. 'ź' => 'z',
  113. 'ž' => 'z',
  114. 'ż' => 'z',
  115. 'þ' => 'th',
  116. 'µ' => 'u',
  117. ];