From 657c76eec49b40be2c7829352cda699115f2de1d Mon Sep 17 00:00:00 2001 From: TangoCash Date: Sun, 3 Apr 2016 23:06:46 +0200 Subject: [PATCH] fix webif xml encoding Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0d4c7b2bb2ec69b61abfee5e4b753ebb9d22aee9 Author: TangoCash Date: 2016-04-03 (Sun, 03 Apr 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/yhttpd_core/yhook.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nhttpd/yhttpd_core/yhook.cpp b/src/nhttpd/yhttpd_core/yhook.cpp index 57acb79b6..0fd1f59fe 100644 --- a/src/nhttpd/yhttpd_core/yhook.cpp +++ b/src/nhttpd/yhttpd_core/yhook.cpp @@ -8,6 +8,8 @@ #include #include +// UTF8 convert +#include // yhttpd #include "yhook.h" #include "helper.h" @@ -540,7 +542,7 @@ std::string CyhookHandler::outValue(std::string _content) { std::string result = ""; switch (outType) { case xml: - result = ""; + result = convert_UTF8_To_UTF8_XML(_content.c_str()); break; case json: result = json_convert_string(_content);