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

Erlang formatter does not work with non-ASCII characters in source-code #150

Open
lffg opened this issue Apr 9, 2020 · 1 comment
Open

Comments

@lffg
Copy link

lffg commented Apr 9, 2020

When some of my Erlang files have any non-ASCII character (such as é, á, etc), the formatter does not work. It keeps loading endlessly:

image

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?

@lffg lffg changed the title non-ASCII Erlang formatter does not work with non-ASCII characters in source-code Apr 9, 2020
@wojteksurowka
Copy link
Contributor

Fixed by #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants