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
This commit is contained in:
parent
2ecdf4550f
commit
39febf48a3
|
@ -9426,7 +9426,7 @@ class SimplePie_Misc
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is first, as behaviour of this is completely predictable
|
// 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);
|
return SimplePie_Misc::windows_1252_to_utf8($data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue