From 39febf48a3c322629e490bdd1851b30349328c06 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Dec 2009 02:20:05 +0000 Subject: [PATCH] windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy. fixes #11219 git-svn-id: http://svn.automattic.com/wordpress/trunk@12528 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-simplepie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php index 45c33c86e2..a404081bec 100644 --- a/wp-includes/class-simplepie.php +++ b/wp-includes/class-simplepie.php @@ -9426,7 +9426,7 @@ class SimplePie_Misc } // This is first, as behaviour of this is completely predictable - if ($input === 'Windows-1252' && $output === 'UTF-8') + if ($input === 'windows-1252' && $output === 'UTF-8') { return SimplePie_Misc::windows_1252_to_utf8($data); }