Use the configured encoding value when decoding received messages

This commit is contained in:
Florent Le Coz
2016-01-04 13:47:26 +01:00
parent b0c3aa0be9
commit 79cdf170d2
5 changed files with 51 additions and 17 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
std::string xml_escape(const std::string& data);
std::string xml_unescape(const std::string& data);
std::string sanitize(const std::string& data);
std::string sanitize(const std::string& data, const std::string& encoding = "ISO-8859-1");
/**
* Represent an XML node. It has