diff --git a/phpgwapi/inc/class.xmltool.inc.php b/phpgwapi/inc/class.xmltool.inc.php index 2f4def44ea..961b5948b9 100644 --- a/phpgwapi/inc/class.xmltool.inc.php +++ b/phpgwapi/inc/class.xmltool.inc.php @@ -446,7 +446,7 @@ { if ($this->node_type == 'root') { - $result = 'xmlversion.'"?>'."\n"; + $result = 'xmlversion.'" encoding="' . lang('charset') . '"?>'."\n"; if(count($this->doctype) == 1) { list($doctype_name,$doctype_uri) = each($this->doctype);