From a8b506e7056e4e563352a7499b6784fbf35e4fca Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 31 Jan 2007 02:07:21 +0000 Subject: [PATCH] Set charset for MCE. Props nbachiyski. fixes #3574 git-svn-id: http://svn.automattic.com/wordpress/trunk@4845 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/tiny_mce_gzip.php | 4 ++-- wp-includes/js/tinymce/wp-mce-help.php | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/tinymce/tiny_mce_gzip.php b/wp-includes/js/tinymce/tiny_mce_gzip.php index 686fb6122b..0de8f42945 100644 --- a/wp-includes/js/tinymce/tiny_mce_gzip.php +++ b/wp-includes/js/tinymce/tiny_mce_gzip.php @@ -6,7 +6,7 @@ * * @version 1.08 * @author Moxiecode - * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved. + * @copyright Copyright 2005-2006, Moxiecode Systems AB, All rights reserved. * * This file compresses the TinyMCE JavaScript using GZip and * enables the browser to do two requests instead of one for each .js file. @@ -82,7 +82,7 @@ $cacheDir = realpath("."); // Absolute directory path to where cached gz file $debug = false; // Enable this option if you need debuging info // Headers -header("Content-type: text/javascript; charset: UTF-8"); +header("Content-Type: text/javascript; charset=" . get_bloginfo('charset')); // header("Cache-Control: must-revalidate"); 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 e28132a952..fe90b0db92 100644 --- a/wp-includes/js/tinymce/wp-mce-help.php +++ b/wp-includes/js/tinymce/wp-mce-help.php @@ -1,4 +1,6 @@ - + >