diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-25 21:02:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-25 21:02:11 +0300 |
commit | 45bf5f51cc788cb8f19e1b8fcd5b8818dc7a2e00 (patch) | |
tree | 40a087f36b75b4c1fb7218bd06052df2968bf2d2 /utils | |
parent | 8ba9e423e683d570702476dd93571cea26a27c1a (diff) |
GCEVENT::GCEF_UTF8 - flag for direct communication with utf8-encoded chat events (UTF16LE by default)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/std_string_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index bac8957325..7f4ff47be6 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. std::string utils::url::encode(const std::string &s) { - return mir_urlEncode(s.c_str()); + return std::string(mir_urlEncode(s.c_str())); } std::string utils::url::decode(std::string data) |