[eluser]Phil Sturgeon[/eluser]
Using the new convert_accented_characters() function in text_helper.php I am getting failed conversions of characters.
The following characters should be supported:
Code:
'232' => "e", // è
'233' => "e", // é
'234' => "e", // ê
'235' => "e", // ë
The numbers on the left are the character codes. However when I try this:
Code:
echo convert_accented_characters('ë');
I get � returned here, so I have put a debug step into the function here:
Code:
return $ord = ord($match['1']);
The codes I get for these four characters are:
Quote:è - 168
é - 169
ê - 170
ë - 171
These numbers are not in the config file at all, as it only starts from 223.
I am using Mac OSX, PHP 5.2.11. Charset is UTF-8 and the browser is FF 3.6.
Not sure if I should simply add these missing characters into the config file or what?
Anybody else getting this? I have submitted it to the bug tracker too.
P.S ü - 188 >.<