Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
9207ac6b
Commit
9207ac6b
authored
Feb 09, 2021
by
patrick pereira
🏃
Browse files
codegenerators: python: Turn QTextStream UTF-8 by default
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
3490ad6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/codegenerators/python/pythonwriter.cpp
View file @
9207ac6b
...
@@ -205,6 +205,7 @@ void PythonWriter::writeClass(UMLClassifier *c)
...
@@ -205,6 +205,7 @@ void PythonWriter::writeClass(UMLClassifier *c)
return
;
return
;
}
}
QTextStream
h
(
&
fileh
);
QTextStream
h
(
&
fileh
);
h
.
setCodec
(
"UTF-8"
);
//////////////////////////////
//////////////////////////////
//Start generating the code!!
//Start generating the code!!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment