Set charset for MCE. Props ruckus. fixes #3574

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-02-16 00:37:16 +00:00
parent 6a9bb15793
commit 2b1974fee0
2 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@
gzip_compression();
// Output rest of headers
header("Content-type: text/javascript; charset: UTF-8");
header("Content-Type: text/javascript; charset=".get_bloginfo('charset'));
header("Vary: Accept-Encoding"); // Handle proxies
header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");

View File

@ -1,6 +1,7 @@
<?php
require_once('../../../wp-config.php');
header('Content-Type: text/html; charset='.get_bloginfo('charset'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">