Better charset audo-detection - http://mosquito.wordpress.org/view.php?id=788
git-svn-id: https://develop.svn.wordpress.org/trunk@2563 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aff97a560f
commit
474c6ec210
@ -41,7 +41,7 @@ $charset = $_POST['charset'];
|
||||
if ($charset)
|
||||
$charset = strtoupper( trim($charset) );
|
||||
else
|
||||
$charset = 'auto';
|
||||
$charset = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';
|
||||
|
||||
if ( function_exists('mb_convert_encoding') ) { // For international trackbacks
|
||||
$title = mb_convert_encoding($title, get_settings('blog_charset'), $charset);
|
||||
|
Loading…
Reference in New Issue
Block a user