-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
[BUG] [Formatter]This breaks when formatting a django template with Japanese characters in UTF-8. #243
Comments
According to my observations, the issue is only on Windows. |
If you turn on "Beta: Use Unicode UTF-8 with worldwide language support" in the system locale setting of windows, you can do it without any problem. |
Thanks @Taikono-Himazin and @monosans! |
# [1.1.0](v1.0.3...v1.1.0) (2022-05-18) ### Bug Fixes * **dj018:** fix rule DJ018 for special attrib names ([f63cc4d](f63cc4d)), closes [#248](#248) * **stdin encoding:** added encoding to stdin text ([e906b3e](e906b3e)), closes [#243](#243) ### Features * **breaks:** allowed p, head, and body tags that are short/empty to be on a single line ([886d590](886d590))
🎉 This issue has been resolved in version 1.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
After applying this update, it worked fine even if I restored the Windows settings! |
Nice! Thank you! |
Running the following command produces corrupted output.
output
Do you only deal with ascii characters in djlint?
I noticed that when using djlint-vscode with vscode, I get corrupted output.
When I tried the above command, djlint gave corrupted output.
Below is my environment.
The text was updated successfully, but these errors were encountered: