[erlang-bugs] Unicode bug in io:format

Paul Davis paul.joseph.davis@REDACTED
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:

http://erlang.2086793.n4.nabble.com/utf8-in-source-files-td3031128.html

Which references:

http://www.erlang.org/doc/apps/stdlib/unicode_usage.html

HTH,
Paul Davis

On Mon, Nov 21, 2011 at 2:06 PM, eurekafag <eurekafag@REDACTED> 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
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>



More information about the erlang-bugs mailing list