Merge pull request #1119 from RetroPooh/chan-fix-cyr

fix cyrillic text sent wrong in channel post
This commit is contained in:
csoler 2017-12-04 16:30:29 +01:00 committed by GitHub
commit 0503f42d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<RsGxsFile> files;