From 41f2e62b249c8c23f0e4886926c8442ca9280878 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 14 Feb 2005 04:29:53 +0000 Subject: [PATCH] Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857 git-svn-id: http://svn.automattic.com/wordpress/trunk@2320 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index 6118ec8eaa08..002d2e1c3178 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -109,9 +109,10 @@ // Sending HTTP headers if ( !empty($error) && '404' == $error ) { - header('HTTP/1.x 404 Not Found'); + @header('HTTP/1.x 404 Not Found'); } else if ( empty($feed) ) { @header('X-Pingback: '. get_bloginfo('pingback_url')); + @header('Content-type: text/html; charset=' . get_option('blog_charset')); } else { // We're showing a feed, so WP is indeed the only thing that last changed if ( $withcomments )