#23292 [Opn]: Cannot compile both yaz and imap options
| From: | dickmeiss@php.net | Date: | Mon, 21 Apr 2003 02:38:35 +0000 |
| Subject: | #23292 [Opn]: Cannot compile both yaz and imap options | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37938@lists.php.net to get a copy of this message | ||
ID: 23292
Updated by: dickmeiss@php.net
-Summary: XML parser does not use encoding from XML header.
Reported By: adam at indexdata dot dk
Status: Open
Bug Type: XML related
Operating System: Linux 2.4.19
PHP Version: 4.3.2RC1
New Comment:
For test case see
http://dickmeiss.net/23292/
Previous Comments:
------------------------------------------------------------------------
[2003-04-20 21:10:50] adam at indexdata dot dk
xml_parse / xml_parser_create does not
use (input) encoding from XML header even though
EXPAT supports that feature. If xml_parser_create
is called with with no arguments, XML file
is assumed to be of type ISO-8859-1 (default_encoding).
It would be desirable if there was a way to
make PHP call EXPAT's XML_ParserCreate(encoding)
with encoding == NULL
to force EXPAT to perform the proper character set
conversion to output character set (TARGET_ENCODING).
Inspecting source from latest PHP, suggests that
this applies to many PHP versions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23292&edit=1