Re: iconv adds garbage while to UTF-8
| From: | Peter Vereshagin | Date: | Thu, 02 Oct 2003 12:12:23 +0000 |
| Subject: | Re: iconv adds garbage while to UTF-8 | ||
| References: | 1 2 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-619@lists.php.net to get a copy of this message | ||
Sorry it would be rather hard for me. I know I have security holes but I simply
built Recode extension. php-4.2.2 was the last built by Arvin where I use(d) to
download RPMS and - thanks! the comment near extension download helped from Apache crash because of
extension instability. I just put recode the first extension to be used in my php.ini and at least
got it.
Thu, Oct 02, 2003 at 08:08:08PM +0900 Moriyoshi Koizumi To Peter Vereshagin
MK> Just upgrade your php. 4.2.2 contains some buggy code.
MK>
MK> Moriyoshi
MK>
MK> Peter Vereshagin <petr999@mail.ru> wrote:
MK>
MK> > Hello.
MK> > I have php-4.2.2
MK> > I have koi8-r encoded string and need to recode it to UTF-8.
MK> > I use iconv() and see strange noise added to a string.
MK> > I played with iconv_set_encoding()'s and setlocale(0 as well.
MK> > Please suggest me a third-party encoding class.
MK> > I always used the convert_cyr_string() but it doesn't seem to know UTF-8.
MK> > my iconv system command does this job fine, but I need this in php.