php.net |  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:
MUST BE VALID
Solve the problem:
5 + 36 = ?
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-30 09:03 UTC] chregu@php.net
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.

chregu
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC