Closed peaceman closed 10 years ago
Could you please try master?
Works only with the glibc implementation of iconv, but that is another problem.
Thx for the fix.
Works only with the glibc implementation of iconv, but that is another problem.
Right! But does any other implementation work the same way as glibc? I don't know about any...
Fixed and tested in master.
Based on #8
Assuming the locale is set to de_DE.UTF-8
If you normalize ä (U+0000C3A4) with NFKD the preg_replace call in Utf8::toAscii will strip the accents and the result is a (U+00000061). When normalizing with NFKC, you will get the expected result ae (U+00000061 and U+00000065).