diff --git a/settings/schemaeditor.cpp b/settings/schemaeditor.cpp index b679d77c..b68a1891 100644 --- a/settings/schemaeditor.cpp +++ b/settings/schemaeditor.cpp @@ -374,7 +374,7 @@ void SchemaEditor::saveCurrent() QFile f(fullpath); if (f.open(QIODevice::WriteOnly)) { QTextStream t(&f); - t.setEncoding( QTextStream::UnicodeUTF8 ); + t.setCodec( "UTF-8" ); t << "# schema for konsole autogenerated with the schema editor" << endl; t << endl;