Re: why is iconv not working as expected?
| From: | Derick Rethans | Date: | Fri, 07 Mar 2003 15:56:57 +0000 |
| Subject: | Re: why is iconv not working as expected? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94895@lists.php.net to get a copy of this message | ||
Hello,
please forward user questions to the php-general@lists.php.net
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.
Derick
On Fri, 7 Mar 2003, Fil wrote:
>
> 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
>
>
>
--
Stop mad cowboy disease!
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------