aboutsummaryrefslogtreecommitdiff
path: root/src/kconfig_compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/kconfig_compiler')
-rw-r--r--src/kconfig_compiler/kconfig_compiler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp
index ea68fec6..8bcaaf35 100644
--- a/src/kconfig_compiler/kconfig_compiler.cpp
+++ b/src/kconfig_compiler/kconfig_compiler.cpp
@@ -1755,6 +1755,8 @@ int main(int argc, char **argv)
QTextStream h(&header);
+ h.setCodec("utf-8");
+
h << "// This file is generated by kconfig_compiler_kf5 from " << QFileInfo(inputFilename).fileName() << "." << endl;
h << "// All changes you do to this file will be lost." << endl;
@@ -2216,6 +2218,8 @@ int main(int argc, char **argv)
QTextStream cpp(&implementation);
+ cpp.setCodec("utf-8");
+
cpp << "// This file is generated by kconfig_compiler_kf5 from " << QFileInfo(inputFilename).fileName() << "." << endl;
cpp << "// All changes you do to this file will be lost." << endl << endl;