[wp-trac] [WordPress Trac] #63815: Re-encode non-UTF-8-compatible source files.

WordPress Trac noreply at wordpress.org
Tue Aug 12 03:54:28 UTC 2025


#63815: Re-encode non-UTF-8-compatible source files.
--------------------------------------+----------------------
 Reporter:  dmsnell                   |       Owner:  dmsnell
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  General                   |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------
Changes (by dmsnell):

 * owner:  (none) => dmsnell
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60627" 60627]:
 {{{
 #!CommitTicketReference repository="" revision="60627"
 Convert two source files to UTF-8

 The files in this commit have previously contained text encoded as
 Windows-1252 (commonly mistaken for latin1/ISO-8859-1), in ways that
 present invalid UTF-8 bytes.

 This commit converts the encodings to UTF-8, which resolves the encoding
 issues. While the whole-posts document could be argued to be intentionally
 Windows-1252, there was no obvious evidence that this was more than an
 historic legacy. The JavaScript file, however, definitely ought to be
 UTF-8.

 Developed in https://github.com/WordPress/wordpress-develop/pull/9425
 Discussed in https://core.trac.wordpress.org/ticket/63815

 Props dmsnell, swisspidy.
 Fixes #63815.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63815#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list