Special Z characters are either erased or mis-substituted
|Reported by:||Namely||Owned by:||nacin|
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( ... 'Ž' => 'Ž', ... 'ž' => 'ž', ...