Hello,
I've tried many different ways when compiling the Erlang package to enable UTF8 support but each time it ends up using the latin char-set.
Things I've tried:
- export `LC_CTYPE and LC_ALL` with a value of `en_US.UTF-8` during compile time
- export the same vars above when running the interactive prompt
Erlang code used to test if UTF8 is enabled:
1> lists:keyfind(encoding, 1, io:getopts()).
2> io:format("~ts~n",["Paměť"]).
Returned values:
1> {encoding,latin1}
2> Pam\304\233\305\245
ok
What else can I do to try and enable UTF8 support in Erlang?
(Last edited by camelCaseD on 2 Sep 2016, 21:07)