Archived
This forum has been archived. Please start a new discussion on GitHub.
Slice file with unicode characters in comments generate invalid python code
mat42x
in Help Center
In our slice files we use unicode characters in comments.
The slice2py compiler generates python comments, but does not specify an encoding for the python file.
It is possible to force the slice2py compiler to generate an encoding statement at the beginning of the generated python file?
Best regards
Mathias
0
Comments
-
Hi Mathias,
Unfortunately is not possible to set the encoding statement, we have push a fix to 3.6 branch to add utf-8 encoding comments to all generated files, we will release new 3.6.2 pypi packages shortly
0
