iconv adds garbage while to UTF-8

Peter Vereshagin <[email protected]>
Newsgroups gmane.comp.php.internationalization
Organization '
Message-ID <[email protected]>
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.

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.