Hallo, I have the same problem.
Do You have a solution yet ?
Thanx
david Den wrote:
when i use $doc=new_xmldoc("1.0") to create a dom document,i use $doc->encoding="gb2312" to set the dom language,but it doesn't work.
who can tell me how can i set the encoding.
a part of codes:
$doc=new_xmldoc("1.0");
$doc->encoding='gb2312';
$root=$doc->add_root("Root");
..................................
thanks very much.