|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #9978 Encoding for XML version declaration
Submitted: 2001-03-25 08:54 UTC Modified: 2002-11-30 09:03 UTC
From: gcs at agentsinside dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: Linux (Debian 2.2 rev2)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 + 30 = ?
Subscribe to this entry?

 [2001-03-25 08:54 UTC] gcs at agentsinside dot com
There is no way to specify the encoding in
domxml_new_xmldoc() function.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-30 09:03 UTC]
You have to give the encoding at serializing the dom-tree (within for example domxml_dump_mem) and not at creating the document. Internally it's always utf-8.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 04:01:27 2023 UTC