[erlang-bugs] Unicode bug in io:format

Paul Davis <>
Mon Nov 21 21:19:54 CET 2011

Oh, good call. I just pasted your code into the shell and it worked.
But then when compiling it into a file it breaks like you have.
Specifically, the UTF-8 literal in the source file is broken. This
suggests that the Erlang compiler doesn't like UTF-8 literals, and
sure enough, a quick google brought up a post:


Which references:


Paul Davis

On Mon, Nov 21, 2011 at 2:06 PM, eurekafag <> wrote:
> What exactly do you get? Please, provide the full output of both cases with
> and without -noinput. I tried export LANG=en_US.UTF-8 (my system-wide locale
> is ru_RU.UTF-8) and I still get the same result.
> _______________________________________________
> erlang-bugs mailing list
> http://erlang.org/mailman/listinfo/erlang-bugs

More information about the erlang-bugs mailing list