why is iconv not working as expected?

From: Date: Fri, 07 Mar 2003 15:54:20 +0000
Subject: why is iconv not working as expected?
Groups: php.dev 
Request: Send a blank email to php-dev+get-94894@lists.php.net to get a copy of this message
Hi there, I'm puzzled by the iconv() call from php. When I test it with cyrillic text, in the utf-8 or windows-1251 charsets, or when I try with iranian text, the following php call <?php echo @iconv($charset, 'ASCII//TRANSLIT', $texte)) ?> brings me only question marks "???????". What I don't understand is that lynx parses those same texts very well, and it is (I think?) based on the same iconv() library... What can I do to either tune my system or do the right call to iconv()? The aim is to have a nice search engine for SPIP, a GPL'd CMS, so the most portable answer will be the best ;) (I'm not on the php-dev list, so please Cc: me.) -- Fil

« previous php.dev (#94894) next »