Re: charset conversion experiences
| From: | Moriyoshi Koizumi | Date: | Wed, 12 Feb 2003 17:17:38 +0000 |
| Subject: | Re: charset conversion experiences | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-449@lists.php.net to get a copy of this message | ||
Hi,
1. libiconv is basically far better at transliteration than glibc iconv.
2. glibc iconv supports yet another external option.
See http://bugs.php.net/20809
Hope this helps.
Moriyoshi
Jan Schneider <jan@horde.org> wrote:
> Hi,
>
> does anybody have some experience or even did some extensive testing on
> how successful iconv, mbstring and recode are when it comes to charset
> conversions?
>
> I currently try iconv() with transliteration first and fallback to
> mb_convert_encoding() if this fails. The rationale is that iconv
> supports much more charsets than mbstring but fails if it detects an
> invalid character for the input charset.
>
> I have no experiences yet with recode (neither in php nor generally),
> does it perhaps even use the same libiconv as iconv?
>
> Anything that throws some light on this is welcome.
>
> Jan.