From 8ec69dfb72d8012e2176811b58d420e0195aba38 Mon Sep 17 00:00:00 2001 From: RetroPooh Date: Wed, 29 Nov 2017 19:23:52 +0300 Subject: [PATCH] fix cyrillic text sent wrong in channel post --- retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp b/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp index e8b15ed8e..cc93d5627 100644 --- a/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp +++ b/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp @@ -630,7 +630,7 @@ void CreateGxsChannelMsg::sendMsg() std::string subject = std::string(misc::removeNewLine(subjectEdit->text()).toUtf8()); QString text; RsHtml::optimizeHtml(msgEdit, text); - std::string msg = text.toStdString(); + std::string msg = std::string(text.toUtf8()); std::list files;