Browse files

windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy.…

… fixes #11219 for 2.9

git-svn-id: http://svn.automattic.com/wordpress/branches/2.9@12529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 995624e commit d9d8ddf4c80c67f322346256d3d1b5e46871d04b ryan committed Dec 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-includes/class-simplepie.php
View
2 wp-includes/class-simplepie.php
@@ -9426,7 +9426,7 @@ function change_encoding($data, $input, $output)
}
// 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);
}

0 comments on commit d9d8ddf

Please sign in to comment.