Skip to content

Formatting in VSCode results in garbled characters when there is Chinese text. #370

Open
@zhangmsh

Description

@zhangmsh

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:

java.format.settings.profile": "D:\\soft\\work-tools\\Microsoft VS Code\\code.xml",
"[java]": {
        "editor.defaultFormatter": "io.spring.javaformat.spring-javaformat-vscode-extension"
    },
   

How can I solve this issue? I am looking forward to your reply.
Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions