Skip to content
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

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

Closed
aiadaniel opened this issue Jan 31, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@aiadaniel
Copy link

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).

  • erlang_ls version (tag/sha): 26.2
  • Editor used: vscode 1.85.2(newest)
  • LSP client used: 0.0.42
@aiadaniel aiadaniel added the bug Something isn't working label Jan 31, 2024
@plux plux closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants