WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#10731 closed defect (bug) (fixed)

TinyMCE files partially look non utf8 encoded

Reported by: hakre Owned by: azaozz
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.4
Component: TinyMCE Keywords:
Focuses: Cc:

Description

while doing some other quality control related tasks (#10633), I ran over non utf8 encoded files within the TinyMCE package. I think it's worth to take care about those since some of those files in there are actually utf8 encoded.

Attachments (1)

10731.patch (7.9 KB) - added by hakre 6 years ago.

Download all attachments as: .zip

Change History (3)

@hakre6 years ago

comment:1 @hakre6 years ago

The patch takes care of mainly the copright symbol (©) as it is mostly the only char that is affected by that. more important (and untouched with this patch) are the files /wordpress-trunk/wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js and /wordpress-trunk/wp-includes/js/tinymce/wp-tinymce.js. they contain more chars and are .js files. I assume they are loaded by the browser which has to expect UTF-8 unless otherwise stated. So those are the hotspot to be fixed. The actual patch can be used to reduce the noise when searching for such files.

comment:2 @azaozz5 years ago

  • Keywords has-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

This has been fixed upstream.

Note: See TracTickets for help on using tickets.