We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5854ab5 commit aaf63eaCopy full SHA for aaf63ea
src/ubuntu/serial.cpp
@@ -91,7 +91,7 @@ void Serial::openSerial(int scId, int ecId, const QVariantMap& arg) {
91
92
void Serial::writeSerial(int scId, int ecId, const QVariantMap& arg) {
93
if (port->isOpen()) {
94
- QByteArray data = arg["data"].toString().toLatin1();
+ QByteArray data = arg["data"].toString().toUtf8();
95
96
qint64 written = 0;
97
while (written < data.size()) {
0 commit comments