Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-license-headers is changing special characters #143

Open
klmcadams opened this issue Feb 29, 2024 · 1 comment
Open

add-license-headers is changing special characters #143

klmcadams opened this issue Feb 29, 2024 · 1 comment

Comments

@klmcadams
Copy link
Contributor

klmcadams commented Feb 29, 2024

The hook is incorrectly writing special characters with fileinput when using python 3.9

https://github.com/ansys/pyadditive/blob/main/src/ansys/additive/core/microstructure.py

image

@RobPasMue
Copy link
Member

Make sure to use the same encoding. Seems to me like that's the main issue. The "micro" symbol is not UTF-8, but UTF-16 probably... you'll need to double check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants