Ticket #3574 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Character set not specified in TinyMCE files

Reported by: ruckus Assigned to: anonymous
Priority: normal Milestone: 2.0.9
Component: Administration Version: 2.0.7
Severity: major Keywords: has-patch
Cc: nbachiyski, ruckus

Description

Using 8-bit characters in TinyMCE translation does not work, because the output from tiny_mce_gzip.php and wp-mce-help.php does not specify any charset in Content-Type. This leaves it up to PHP and the web server to complete the Content-Type charset information, possibly incorrectly.

The charset should not be hard-coded in these scripts, so that plugins such as Character Set Conversions[1] can use the gettext hook to transcode the messages to the character set specified in the blog settings.

[1]: http:/kimmo.suominen.com/sw/charsets/

Attachments

tinymce-charset.diff (1.2 kB) - added by ruckus on 01/13/07 16:38:45.
Patch against 2.0.7-RC1

Change History

01/13/07 16:38:45 changed by ruckus

  • attachment tinymce-charset.diff added.

Patch against 2.0.7-RC1

01/30/07 19:18:23 changed by markjaquith

  • milestone changed from 2.0.8 to 2.2.

Does this apply to 2.1 or 2.2? If so, we should fix it there first.

01/30/07 21:35:16 changed by foolswisdom

  • cc set to nbachiyski.
  • keywords changed from bg|has-patch to has-patch.

01/31/07 02:07:24 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4845]) Set charset for MCE. Props nbachiyski. fixes #3574

01/31/07 02:09:10 changed by ryan

(In [4846]) Set charset for MCE. Props nbachiyski. fixes #3574

01/31/07 02:09:57 changed by ryan

  • milestone changed from 2.2 to 2.0.9.

Committed for 2.2 and 2.1.1. Let's milestone for 2.0.9.

01/31/07 17:24:50 changed by foolswisdom

  • status changed from closed to reopened.
  • resolution deleted.

02/14/07 07:12:32 changed by ruckus

  • cc changed from nbachiyski to nbachiyski, ruckus.

02/14/07 07:18:36 changed by ruckus

Looks like the change was applied to 2.1 and 2.2, so it applied. I'm not running the trunk (yet), so my patches tend to be against 2.0.x.

02/16/07 00:37:17 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [4888]) Set charset for MCE. Props ruckus. fixes #3574