php.net |  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
Status: Closed Package: ICONV related
PHP Version: 5.3.3 OS: windows 7 x64
Private report: No CVE-ID:
 [2010-08-13 16:48 UTC] giorgio dot liscio at email dot it
Description:
------------
hi

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-19 14:27 UTC] iliaa@php.net
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=302476
Log: Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
 [2010-08-19 14:27 UTC] iliaa@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2010-08-19 14:27 UTC] iliaa@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 14:02:18 2014 UTC