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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gcs at agentsinside dot com
New email:
PHP Version: OS:

 

 [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: Sat Oct 12 06:01:27 2024 UTC