Fixed xgettext error caused by non-ASCII character in any qml file.
When there is any non-ASCII character in any qml file in a rust project, the build fails with following error message:
xgettext: Non-ASCII comment at or before qml/Main.qml:2.
Please specify the source encoding through --from-code
adding parameter --from-code=UTF-8
to xgettext
command fixes the problem.
Simple way to reproduce the error: use the rust template and use non-ASCII character in Maintainer Name.