-
Notifications
You must be signed in to change notification settings - Fork 3
While Erlang has libraries that support unicode strings, the source files are still encoded as Latin-1. See for example http://www.erlang.org/doc/apps/stdlib/unicode_usage.html#id58126
2.3 Basic language support for Unicode
First of all, Erlang is still defined to be written in the ISO-latin-1 character set. Functions have to be named in that character set, atoms are restricted to ISO-latin-1 and regular strings are still lists of characters 0..255 in the ISO-latin-1 encoding. This has not (yet) changed, but the language has been slightly extended to cope with Unicode characters and encodings.
If you don't care about Latin-1, you can go to window->Preferences->General->Content types->Text->Erlang and change the default encoding to UTF-8. This will allow Eclipse to open and save files in utf-8, but there is no guarantee that other tools won't get confused by this (for example length of text is no longer the same as number of bytes).
Checklist:
- Did you configure it properly? See Configuration
- Is your local host name configured properly in /etc/hosts (or c:\Windows\System32\drivers\etc\hosts)?
- Have you checked the cookie settings (see here)?