#28153 [Opn->WFx]: Unable to add encoding to XML Declaration
| From: | rrichards@php.net | Date: | Fri, 07 May 2004 12:46:28 +0000 |
| Subject: | #28153 [Opn->WFx]: Unable to add encoding to XML Declaration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59344@lists.php.net to get a copy of this message | ||
ID: 28153
Updated by: rrichards@php.net
Reported By: silvein at php dot x256 dot com
-Status: Open
+Status: Wont fix
Bug Type: DOM XML related
Operating System: Linux 2.4.25_pre7 SMP
PHP Version: 4.3.6
New Comment:
This is not going to be added to domxml. You either need to use the
domxml_open_xxx functions and specify the encoding there or pass the
encoding when dumping the data like: $doc->dump_mem(TRUE,
"ISO-8859-1"); Since encoding isnt needed until output, you should
probably just pass the encoding in the dump functions during output.
Previous Comments:
------------------------------------------------------------------------
[2004-04-26 10:51:06] silvein at php dot x256 dot com
When using domxml_new_doc() the only allowed argument is the "version"
attribute for the XML declaration. I am unable to find a way to add an
"encoding" attribute.
------------------------------------------------------------------------
[2004-04-26 10:40:47] silvein at php dot x256 dot com
Description:
------------
When using domxml_new_doc() the only allowed argument is the "varsion"
attribute for the XML declaration. I am unable to find a way to add an
"encoding" attribute.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28153&edit=1