Permalink
Browse files

Better charset audo-detection - http://mosquito.wordpress.org/view.ph…

…p?id=788

git-svn-id: http://svn.automattic.com/wordpress/trunk@2563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 5eb4212 commit d877c39976bf29e0fc4653b5160e98c44a456ec0 matt committed Apr 20, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-trackback.php
View
@@ -41,7 +41,7 @@ function trackback_response($error = 0, $error_message = '') {
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);

0 comments on commit d877c39

Please sign in to comment.