-
Notifications
You must be signed in to change notification settings - Fork 110
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
Formatting in VSCode results in garbled characters when there is Chinese text. #370
Comments
I suspect we've missed something with the character encoding. @zhangmsh are you able to provide a sample project that shows the issue? |
Closing due to the lack of request feedback. We can re-open and investigate if a sample project is provided. |
hi @philwebb and @wilkinsona , I have the same problem when I save any Java file with Portuguese characters like 'ã' or 'ç'. I also see that Spring Java Format Visual Code Extension works ok if I execute the same procedure on codespace (Linux encoding utf-8). The Java file keeps the characters. I look forward to your answer. |
@persapiens Are you able to provide a sample and detail the steps needed to reproduce the issue? |
Hi @philwebb , I uploaded a sample project here:
Best wishes. |
I am using version 0.0.38 of VSCode. When formatting code in JAVA, if there is Chinese text, the text will become garbled. I have tried using RedHat Formatter and it works fine.
settings:
How can I solve this issue? I am looking forward to your reply.
Thank you very much.
The text was updated successfully, but these errors were encountered: