Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688

git-svn-id: http://svn.automattic.com/wordpress/trunk@3106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-16 06:37:06 +00:00
parent cf15dd3943
commit 428f06c54a
1 changed files with 11 additions and 11 deletions

View File

@ -176,7 +176,7 @@ function remove_accents($string) {
chr(196).chr(128) => 'A', chr(196).chr(129) => 'a',
chr(196).chr(130) => 'A', chr(196).chr(131) => 'a',
chr(196).chr(132) => 'A', chr(196).chr(133) => 'a',
chr(196).chr(134) => 'C', chr(196).chr(134) => 'c',
chr(196).chr(134) => 'C', chr(196).chr(135) => 'c',
chr(196).chr(136) => 'C', chr(196).chr(137) => 'c',
chr(196).chr(138) => 'C', chr(196).chr(139) => 'c',
chr(196).chr(140) => 'C', chr(196).chr(141) => 'c',
@ -205,15 +205,15 @@ function remove_accents($string) {
chr(196).chr(186) => 'l', chr(196).chr(187) => 'L',
chr(196).chr(188) => 'l', chr(196).chr(189) => 'L',
chr(196).chr(190) => 'l', chr(196).chr(191) => 'L',
chr(197).chr(128) => 'l', chr(196).chr(129) => 'L',
chr(197).chr(130) => 'l', chr(196).chr(131) => 'N',
chr(197).chr(132) => 'n', chr(196).chr(133) => 'N',
chr(197).chr(134) => 'n', chr(196).chr(135) => 'N',
chr(197).chr(136) => 'n', chr(196).chr(137) => 'N',
chr(197).chr(138) => 'n', chr(196).chr(139) => 'N',
chr(197).chr(140) => 'O', chr(196).chr(141) => 'o',
chr(197).chr(142) => 'O', chr(196).chr(143) => 'o',
chr(197).chr(144) => 'O', chr(196).chr(145) => 'o',
chr(197).chr(128) => 'l', chr(197).chr(129) => 'L',
chr(197).chr(130) => 'l', chr(197).chr(131) => 'N',
chr(197).chr(132) => 'n', chr(197).chr(133) => 'N',
chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
chr(197).chr(140) => 'O', chr(197).chr(141) => 'o',
chr(197).chr(142) => 'O', chr(197).chr(143) => 'o',
chr(197).chr(144) => 'O', chr(197).chr(145) => 'o',
chr(197).chr(146) => 'OE',chr(197).chr(147) => 'oe',
chr(197).chr(148) => 'R',chr(197).chr(149) => 'r',
chr(197).chr(150) => 'R',chr(197).chr(151) => 'r',
@ -993,4 +993,4 @@ function ent2ncr($text) {
return $text;
}
?>
?>