|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-03-27 11:26 UTC] ab@php.net
-Status: Open
+Status: Not a bug
[2014-03-27 11:26 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 14:00:02 2026 UTC |
Description: ------------ When iconv is used for transliteration on Linux, characters such as ä become ae. On Windows, iconv returns "a instead of ae (note the double quote before the letter). Test script: --------------- $utf8_umlaut_a = 'ä'; // On Linux ä = ae setlocale(LC_CTYPE, 'de_DE'); echo iconv('UTF-8', 'ASCII//TRANSLIT', $utf8_umlaut_a); // On Windows ä = "a setlocale(LC_CTYPE, 'german'); echo iconv('UTF-8', 'ASCII//TRANSLIT', $utf8_umlaut_a); Expected result: ---------------- On Windows iconv should return the same result as on Linux. ä should be returned as ae and not "a. Actual result: -------------- ä becomes "a.