mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Better charset audo-detection - http://mosquito.wordpress.org/view.php?id=788
git-svn-id: http://svn.automattic.com/wordpress/trunk@2563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5eb42126dd
commit
d877c39976
@ -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