|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52599 iconv output handler produces Content-Type: text/html; charset=UTF-8//TRANSLIT
Submitted: 2010-08-13 16:48 UTC Modified: 2010-08-19 14:27 UTC
From: giorgio dot liscio at email dot it Assigned: iliaa (profile)
Status: Closed Package: ICONV related
PHP Version: 5.3.3 OS: windows 7 x64
Private report: No CVE-ID: None
 [2010-08-13 16:48 UTC] giorgio dot liscio at email dot it

when i use

iconv_set_encoding("output_encoding", "UTF-8//TRANSLIT//IGNORE");

http response header is sent like this:

Content-Type: text/html; charset=UTF-8//TRANSLIT//IGNORE

and it is not correctly parsed by the browser (tested ffox and ie)

i'm not sure but this is specific to 5.3.3, because on 5.3.2 works

thank you


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-19 14:27 UTC]
Automatic comment from SVN on behalf of iliaa
Log: Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
 [2010-08-19 14:27 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2010-08-19 14:27 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 10:01:24 2023 UTC