Re: iconv adds garbage while to UTF-8

From: Date: Thu, 02 Oct 2003 11:08:08 +0000
Subject: Re: iconv adds garbage while to UTF-8
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-618@lists.php.net to get a copy of this message
Just upgrade your php. 4.2.2 contains some buggy code. Moriyoshi Peter Vereshagin <petr999@mail.ru> wrote: > Hello. > I have php-4.2.2 > I have koi8-r encoded string and need to recode it to UTF-8. > I use iconv() and see strange noise added to a string. > I played with iconv_set_encoding()'s and setlocale(0 as well. > Please suggest me a third-party encoding class. > I always used the convert_cyr_string() but it doesn't seem to know UTF-8. > my iconv system command does this job fine, but I need this in php.

« previous php.i18n (#618) next »