added encoding to function export_xml

This commit is contained in:
ceb 2002-10-19 00:37:23 +00:00
parent 738455541d
commit a979f0afc1

View File

@ -446,7 +446,7 @@
{
if ($this->node_type == 'root')
{
$result = '<?xml version="'.$this->xmlversion.'"?>'."\n";
$result = '<?xml version="'.$this->xmlversion.'" encoding="' . lang('charset') . '"?>'."\n";
if(count($this->doctype) == 1)
{
list($doctype_name,$doctype_uri) = each($this->doctype);