charset conversion experiences
| From: | Jan Schneider | Date: | Wed, 12 Feb 2003 16:24:06 +0000 |
| Subject: | charset conversion experiences | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-447@lists.php.net to get a copy of this message | ||
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.