From d877c39976bf29e0fc4653b5160e98c44a456ec0 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 20 Apr 2005 22:06:28 +0000 Subject: [PATCH] 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 --- wp-trackback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-trackback.php b/wp-trackback.php index cd68f4cf01..5d942808b1 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -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);