[wp-trac] [WordPress Trac] #55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode() functions
WordPress Trac
noreply at wordpress.org
Wed Mar 6 17:40:19 UTC 2024
#55603: PHP 8.2: address deprecation of the utf8_encode() and utf8_decode()
functions
--------------------------------------------+------------------------------
Reporter: jrf | Owner: hellofromTonya
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 6.6
Component: General | Version: 6.0
Severity: normal | Resolution:
Keywords: 2nd-opinion php82 dev-feedback | Focuses: coding-
| standards
--------------------------------------------+------------------------------
Comment (by chesio):
Replying to [comment:61 ironprogrammer]:
> Replying to [comment:59 swissspidy]:
> > ...have we considered using https://packagist.org/packages/symfony
/polyfill-mbstring instead of making the mbstring extension mandatory?
>
> This was suggested early on (comment:3), but even considering the
relatively recent [https://core.trac.wordpress.org/ticket/57345 change of
minimum PHP from 5.6 to 7.0], as noted in comment:4, the package requires
PHP 7.1+.
It seems that minimum PHP version is going to be bumped to 7.2 in
WordPress 6.6 (see #58719), so PHP version should no longer be a blocker
for inclusion of `symfony/polyfill-mbstring`.
Btw. as someone whose given name contains non-ASCII, non-ISO-8859-1
character, I would set mbstring extension as requirement :-) I've got my
given name mangled too many times, so I'm all in for having proper UTF-8
implementation everywhere.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55603#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list