-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
UnicodeDecodeError on windows #158
Comments
@MatteoPiovanelli-Laser would you be able to share the file/part of the file which fails? |
Here's a link to it (from the repo I forked it from) |
Starting from 72f9faf all files are loaded with utf-8 encoding. The file will load without problems on the |
Fixed by 4292c4a, to be released in |
and where is 3.5 release? only 3.4.0 and 4.0.0 are available 🤔 |
@Prikalel released today - I was planning to add more features, but I de-scoped that release. |
Just installed the toolkit with
pip3 install 'gdtoolkit==3.*'
Launched
gdformat --diff .
in the project folder.I get this output in my terminal:
Searching online lead me to https://stackoverflow.com/a/49562606
My guess would be that explicitly setting the encoding to use when opening the file in
godot-gdscript-toolkit/gdtoolkit/formatter/__main__.py
Line 89 in ca2abee
The text was updated successfully, but these errors were encountered: