[wp-trac] [WordPress Trac] #27733: wpautop(): \s in regex destroys some UTF-8 characters
WordPress Trac
noreply at wordpress.org
Tue Sep 23 08:30:38 UTC 2025
#27733: wpautop(): \s in regex destroys some UTF-8 characters
--------------------------------------------------+----------------------
Reporter: tenpura | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version: 0.71
Severity: major | Resolution: wontfix
Keywords: needs-patch needs-unit-tests wpautop | Focuses:
--------------------------------------------------+----------------------
Comment (by miqrogroove):
> given that UTF-8 is the default internal encoding in PHP and has been
for years
I think we determined this bug was unrelated to the PHP charset. PCRE
relies on the system locale. See "Generic character types" at
https://pcre.org/pcre.txt
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27733#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list