From f61e045d4da0325e6c1f44d8e11c16f8eef6da7f Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 23 Oct 2010 15:36:16 +0000 Subject: [PATCH] Also convert uppercase letters in Latin Extended-B. See #9591 git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/formatting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 58e0d49653..6cbe3266b8 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -631,7 +631,9 @@ function remove_accents($string) { chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z', chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z', chr(197).chr(190) => 'z', chr(197).chr(191) => 's', - chr(200).chr(153) => 's', chr(200).chr(155) => 't', + // Decompositions for Latin Extended-B + chr(200).chr(152) => 'S', chr(200).chr(153) => 's', + chr(200).chr(154) => 'T', chr(200).chr(155) => 't', // Euro Sign chr(226).chr(130).chr(172) => 'E', // GBP (Pound) Sign