erlang-ls / erlang_ls

The Erlang Language Server
https://erlang-ls.github.io/
Apache License 2.0
626 stars 136 forks source link

UTF-8 characters in comment become Garbled code if run format code in vscode. #1494

Closed aiadaniel closed 7 months ago

aiadaniel commented 8 months ago

something like:

origin: %% 更改回调模块 Since OTP22.3 change_callback_module() -> gen_statem:cast(?NAME, change_callback_module).

and run format document in vscode (Shift+Alt+F), it turns out:

%% 更改回调模块 Since OTP22.3 change_callback_module() -> gen_statem:cast(?NAME, change_callback_module).