From 8d565fba110ea93bec50c3a00cf4ed5b4972dd07 Mon Sep 17 00:00:00 2001 From: "auria.mg" Date: Sat, 24 Feb 2018 21:38:31 -0500 Subject: [PATCH] Unicode fix --- src/online/http_request.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/online/http_request.hpp b/src/online/http_request.hpp index 70a5b5d60..bba850c51 100644 --- a/src/online/http_request.hpp +++ b/src/online/http_request.hpp @@ -133,7 +133,7 @@ namespace Online void addParameter(const std::string &name, const irr::core::stringw &value) { - core::stringc s = core::stringc(value.c_str()); + std::string s = StringUtils::wideToUtf8(value); // Call the template to escape strings properly addParameter(name, s.c_str());