vscode_erlang
vscode_erlang copied to clipboard
Erlang formatter does not work with non-ASCII characters in source-code
When some of my Erlang files have any non-ASCII character (such as é
, á
, etc), the formatter does not work. It keeps loading endlessly:
Examples of "OK" code:
-module(first_module).
-export([test/0]).
test() -> "A".
% This is OK.
-module(useless_module).
Examples of "not-OK" code:
-module(first_module).
-export([test/0]).
test() -> "Á".
% This not OK: "É".
-module(useless_module).
Is there a way to fix this incorrect behavior?
Fixed by #224