[wp-trac] [WordPress Trac] #20503: Special Z characters are either erased or mis-substituted
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 21 11:54:21 UTC 2012
#20503: Special Z characters are either erased or mis-substituted
--------------------------+-----------------------------
Reporter: Namely | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.3.1
Severity: major | Keywords: has-patch
--------------------------+-----------------------------
Function convert_chars defined in wp-includes/formatting.php and used in
many filters in wp-includes/default-filters.php does not handle two
characters properly.
The subjects are two special Z characters: "Ž" and "ž".
convert_chars performs the following replacements:
{{{
$wp_htmltranswinuni = array(
...
'Ž' => 'ž',
...
'ž' => '',
...
}}}
This lower-cases "Ž" to "ž" and also erases "ž".
Instead, the code should be as follows:
{{{
$wp_htmltranswinuni = array(
...
'Ž' => 'Ž',
...
'ž' => 'ž',
...
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20503>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list