Moriyoshi Koizumi wrote:
Not really, but thanks for your answer.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.
It still isn't clear to me which conversion method uses which library. If I understand it correctly, mbstring doesn't use an external library but has its own conversion routines.
iconv probably uses glibc's iconv?
Does recode use the libiconv library?
If so, do you (or others) recommend the following chain to convert between charsets?
recode - iconv - mbstring
Jan Schneider <[EMAIL PROTECTED]> 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.
-- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php