note 98448 rejected from function.iconv by visualmind

From: Date: Wed, 16 Jun 2010 10:48:55 +0000
Subject: note 98448 rejected from function.iconv by visualmind
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170171@lists.php.net to get a copy of this message
Note Submitter: niek dot kouwenberg at care dot nl ---- I've recently encountered a problem with iconv (TRANSLIT) which works in some locations but fails in others. <?php // this is the expected behavior: echo iconv('UTF-8', 'ASCII//TRANSLIT', 'carré, noël, enquête'); // outputs: carre, noel, enquete // and this I can't explain: (different server, same PHP) echo iconv('UTF-8', 'ASCII//TRANSLIT', 'carré, noël, enquête'); // outputs: carr'e, no"el, enqu^ete ?> I can't find any documentation which mentions this problem, so if one of you might know a solution...

« previous php.notes (#170171) next »