aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_protocols/rest_encoder.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_protocols/rest_encoder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_protocols/rest_encoder.php b/include/ws_protocols/rest_encoder.php
index 9352e5644..e02af55bb 100644
--- a/include/ws_protocols/rest_encoder.php
+++ b/include/ws_protocols/rest_encoder.php
@@ -168,7 +168,7 @@ class PwgRestEncoder extends PwgResponseEncoder
$this->_writer = new PwgXmlWriter();
$this->encode($response);
$ret = $this->_writer->getOutput();
- $ret = '<?xml version="1.0" encoding="'.$lang_info['charset'].'" ?>
+ $ret = '<?xml version="1.0" encoding="'.get_pwg_charset().'" ?>
<rsp stat="ok">
'.$ret.'
</rsp>';