diff --git a/protocolfile.cpp b/protocolfile.cpp index 1ece77b..fb29236 100644 --- a/protocolfile.cpp +++ b/protocolfile.cpp @@ -499,7 +499,7 @@ bool ProtocolFile::flush(void) } // The actual interesting contents - file.write(qPrintable(contents)); + file.write(qUtf8Printable(contents)); // And the file file.close(); @@ -557,10 +557,10 @@ bool ProtocolHeaderFile::flush(void) } // The actual interesting contents - file.write(qPrintable(contents)); + file.write(qUtf8Printable(contents)); // close the file out - file.write(qPrintable(getClosingStatement())); + file.write(qUtf8Printable(getClosingStatement())); // And the file file.close(); @@ -705,10 +705,10 @@ bool ProtocolSourceFile::flush(void) } // The actual interesting contents - file.write(qPrintable(contents)); + file.write(qUtf8Printable(contents)); // Close it out - file.write(qPrintable(getClosingStatement())); + file.write(qUtf8Printable(getClosingStatement())); // And the file file.close(); diff --git a/protocolparser.cpp b/protocolparser.cpp index e3b4c08..7057943 100644 --- a/protocolparser.cpp +++ b/protocolparser.cpp @@ -17,7 +17,7 @@ #include // The version of the protocol generator is set here -const QString ProtocolParser::genVersion = "2.22.b"; +const QString ProtocolParser::genVersion = "2.22.c"; /*! * \brief ProtocolParser::ProtocolParser