mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 19:57:57 +02:00
XMLDB: method _save() use utf-8 encoding.
This commit is contained in:
@@ -853,7 +853,7 @@ class Table
|
|||||||
*/
|
*/
|
||||||
protected static function _save($table)
|
protected static function _save($table)
|
||||||
{
|
{
|
||||||
$dom = new DOMDocument('1.0');
|
$dom = new DOMDocument('1.0', 'utf-8');
|
||||||
$dom->preserveWhiteSpace = false;
|
$dom->preserveWhiteSpace = false;
|
||||||
|
|
||||||
// Save new xml data to xml file only if loadXML successful.
|
// Save new xml data to xml file only if loadXML successful.
|
||||||
|
Reference in New Issue
Block a user