ID: 44096 Comment by: niloat at gmail dot com Reported By: cpuidle at gmx dot de Status: No Feedback Bug Type: ICONV related Operating System: WinXP PHP Version: 5.2.5 New Comment:
Please check whether necessary so files exists in /usr/lib/gconv. You can copy those files from other's linux system if missing someone. Previous Comments: ------------------------------------------------------------------------ [2008-05-13 05:11:40] iconv dot 20 dot cheef-daniel at spamgourmet dot com Notice: iconv() [function.iconv]: Wrong charset, conversion from `ISO-8859-1' to `UTF-8//TRANSLIT' is not allowed in /var/www/test.php on line 7 Same here with libapache2-mod-php5.2.6 on my debian etch based system. I first thought it has to do with my chroot-setup and spent 2 days searching what goes wrong and found nothing. It works fine with an old php4-binary, iconv directly called in the shell works too. samples from ANSI encoded file: echo iconv('UTF-8', 'ASCII//TRANSLIT', "test"); // works echo iconv('ASCII', 'UTF-8//TRANSLIT', "test"); // works echo iconv('UTF-8', 'ISO-8859-1//TRANSLIT', "test"); // works not echo iconv('ISO-8859-1', 'UTF-8//TRANSLIT', "test"); // works not ------------------------------------------------------------------------ [2008-04-17 08:41:49] i dot pavlov at korekom dot net The same thing here. But the problem is far from Windows-specific. Debian based system in my case. No usefull info found for now. ------------------------------------------------------------------------ [2008-02-25 01:31:35] ras...@php.net Weird Windows-specific thing. The test case works fine on 6 different UNIX variants I just tried it on. ------------------------------------------------------------------------ [2008-02-24 23:45:29] darop68 at poczta dot onet dot pl I have the same problem in php 5.2.5. My code: iconv('iso-8859-2', 'utf-8', 'test'); ------------------------------------------------------------------------ [2008-02-22 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44096 -- Edit this bug report at http://bugs.php.net/?id=44096&edit=1