Changeset 4845

Show
Ignore:
Timestamp:
01/31/07 02:07:21 (1 year ago)
Author:
ryan
Message:

Set charset for MCE. Props nbachiyski. fixes #3574

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/js/tinymce/tiny_mce_gzip.php

    r4209 r4845  
    77 * @version 1.08 
    88 * @author Moxiecode 
    9  * @copyright Copyright 2005-2006, Moxiecode Systems AB, All rights reserved. 
     9 * @copyright Copyright 2005-2006, Moxiecode Systems AB, All rights reserved. 
    1010 * 
    1111 * This file compresses the TinyMCE JavaScript using GZip and 
     
    8383 
    8484// Headers 
    85 header("Content-type: text/javascript; charset: UTF-8"); 
     85header("Content-Type: text/javascript; charset=" . get_bloginfo('charset')); 
    8686// header("Cache-Control: must-revalidate"); 
    8787header("Vary: Accept-Encoding"); // Handle proxies 
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r4799 r4845  
    1 <?php require_once('../../../wp-config.php'); ?> 
     1<?php require_once('../../../wp-config.php'); 
     2header('Content-Type: text/html; charset=' . get_bloginfo('charset')); 
     3?> 
    24<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    35<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>