Skip to content

Commit

Permalink
windows-1252 is canonical, not Windows-1252. Props Denis-de-Bernardy.…
Browse files Browse the repository at this point in the history
… 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
ryan committed Dec 24, 2009
1 parent 995624e commit d9d8ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/class-simplepie.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit d9d8ddf

Please sign in to comment.