#25491 [NEW]: iconv encoding settings are not writeable

From: Date: Thu, 11 Sep 2003 13:02:13 +0000
Subject: #25491 [NEW]: iconv encoding settings are not writeable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47444@lists.php.net to get a copy of this message
From: lapo at lapo dot it Operating system: Windows2000 PHP version: 4.3.2 PHP Bug Type: ICONV related Bug description: iconv encoding settings are not writeable Description: ------------ input_encoding, internal_encoding, output_encoding are not writable on Win32. Documentation says that those values are PHP_INI_ALL and, on other OS (alexdupre checked it on FreeBSD), it actually is. On Windows it seems not. I had the doubt that "the OS didn't support that specific charset", but this can't be as "string iconv ( string in_charset, string out_charset, string str)" works perfectly with the very same charset names. Reproduce code: --------------- All of them die: iconv_set_encoding('internal_encoding', 'Windows-1252') or die('Cannot change internal encoding.'); iconv_set_encoding('output_encoding', 'UTF-8') or die('Cannot change output encoding.'); ini_set('iconv.internal_encoding', 'Windows-1252') or die('Cannot change internal encoding.'); ini_set('iconv.output_encoding', 'UTF-8') or die('Cannot change output encoding.'); Expected result: ---------------- A change in charset. Actual result: -------------- A return value of FALSE. -- Edit bug report at http://bugs.php.net/?id=25491&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25491&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25491&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25491&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25491&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25491&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25491&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25491&r=support Expected behavior: http://bugs.php.net/fix.php?id=25491&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25491&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25491&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25491&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25491&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25491&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25491&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25491&r=gnused

« previous php.bugs (#47444) next »