[wp-trac] [WordPress Trac] #65245: Accented or special characters issue

WordPress Trac noreply at wordpress.org
Sat May 16 15:17:17 UTC 2026


#65245: Accented or special characters issue
-------------------------------------------------+-------------------------
 Reporter:  clementpolito                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-patch needs-   |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by siliconforks):

 Replying to [comment:3 jonsurrell]:
 > It hasn't changed in a long time, but changes to underlying language
 data or functionality could plausibly produce different results.

 It looks like the behavior changed in PHP 8.3:

 {{{#!php
 <?php

 $raw = 'é1234567890';
 $raw = mb_convert_encoding( $raw, 'UTF-8', 'ASCII, JIS, UTF-8,
 Windows-1252, ISO-8859-1' );

 // PHP 8.2: é1234567890
 // PHP 8.3: テゥ1234567890
 echo $raw . "\n";
 }}}

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


More information about the wp-trac mailing list