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
 [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

Pull Requests

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: Tue Oct 22 15:01:29 2024 UTC