From 2b1974fee0aecc5373f9853fc4c2b5356f6fe49a Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 16 Feb 2007 00:37:16 +0000 Subject: [PATCH] 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 --- wp-includes/js/tinymce/tiny_mce_gzip.php | 2 +- wp-includes/js/tinymce/wp-mce-help.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/tiny_mce_gzip.php b/wp-includes/js/tinymce/tiny_mce_gzip.php index c3af23ddd1..2c66bc38a5 100644 --- a/wp-includes/js/tinymce/tiny_mce_gzip.php +++ b/wp-includes/js/tinymce/tiny_mce_gzip.php @@ -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"); diff --git a/wp-includes/js/tinymce/wp-mce-help.php b/wp-includes/js/tinymce/wp-mce-help.php index f347c92786..b53a8cede2 100644 --- a/wp-includes/js/tinymce/wp-mce-help.php +++ b/wp-includes/js/tinymce/wp-mce-help.php @@ -1,6 +1,7 @@