# HG changeset patch # User nemo # Date 1450801120 18000 # Node ID 5dbc0f976b4ac605eb9c2ccca7b71dcb274c439a # Parent 6f119783a1adb69759c00dea16f39d2c3cefb0a8 assume frontend buffer utf-8 to avoid garbage strings in debug diff -r 6f119783a1ad -r 5dbc0f976b4a QTfrontend/net/newnetclient.cpp --- a/QTfrontend/net/newnetclient.cpp Thu Nov 19 13:30:34 2015 +0300 +++ b/QTfrontend/net/newnetclient.cpp Tue Dec 22 11:18:40 2015 -0500 @@ -183,7 +183,7 @@ void HWNewNet::RawSendNet(const QByteArray & buf) { - qDebug() << "Client: " << QString(buf).split("\n"); + qDebug() << "Client: " << QString(QString::fromUtf8(buf)).split("\n"); NetSocket.write(buf); NetSocket.write("\n\n", 2); }