[wp-trac] [WordPress Trac] #31992: Unicode Email Addresses

WordPress Trac noreply at wordpress.org
Tue Apr 21 14:04:17 UTC 2026


#31992: Unicode Email Addresses
-------------------------------------------------+-------------------------
 Reporter:  ysalame                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  7.1
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-test-info has-patch has-         |     Focuses:
  screenshots has-unit-tests dev-feedback early  |
-------------------------------------------------+-------------------------

Comment (by dmsnell):

 In [changeset:"62249" 62249]:
 {{{
 #!CommitTicketReference repository="" revision="62249"
 Tests: Print invalid UTF-8 as ASCII to fix hosts test reporting failures.

 When serializing test output into XML, invalid UTF-8 bytes lead to a
 failure to load those test results when they are read. This patch adds
 code to remap those invalid bytes in an ASCII-readable form, whereas the
 invalid bytes are separated by parentheses and encoded in their hex form.

 This ensures that a proper XML file is generated from the testing results.

 Developed in: https://github.com/WordPress/wordpress-develop/pull/11620
 Discussed in: https://core.trac.wordpress.org/ticket/31992
 Reported in: https://github.com/WordPress/phpunit-test-runner/pull/310

 Follow-up to: [62225].

 Props agulbra, amykamala, codexdemon, dmsnell, mywp459, rolle.
 See #31992.
 }}}

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


More information about the wp-trac mailing list