ID:               25491
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lapo at lapo dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         ICONV related
 Operating System: Windows2000
 PHP Version:      4.3.2
 New Comment:

Works fine with PHP 4.3.3. 




Previous Comments:
------------------------------------------------------------------------

[2003-09-11 09:02:13] lapo at lapo dot it

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 this bug report at http://bugs.php.net/?id=25491&edit=1

Reply via email to