Vanquishing the terror of iso-8859-1.

git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-08-30 07:16:40 +00:00
parent 54415b2289
commit 6e1c571490
17 changed files with 521 additions and 116 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ if (! $feed) {
require('wp-blog-header.php');
}
header('Content-type: text/xml', true);
header('Content-type: text/xml;charset=' . get_settings('blog_charset'), true);
echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>';
?>