Reducees and Erlang I/O
-
Last week there was discussion on twitter after I made a comment that I
had now found that the Erlang I/O used reducees not iteratees, and that I
got the ...
9 years ago
9 comments:
0.8.4 has a bug
Erlang IDE 0.7.0.200911031403 can read chinese *.erl files ohright very good very cool!
but
Erlang IDE 0.8.4.201006171111 but this read chinese *.erl wrong.
i find the wrong is read chinese *.erl ,eclipse open in the file Chaotic Syntax Hightlighting
Hi!
It's not a bug. Erlang source code still has to be ISO-latin-1 (see http://www.erlang.org/doc/apps/stdlib/unicode_usage.html) and we have to support support even R12 that knows nothing about utf-8.
To top that Eclipse needs to know if a file is utf-8 or ISO-latin-1 and we can only choose latin-1.
best regards,
Vlad
%%%%%%%%%%%%%%%%%%%%%%%%
%% 中文注释
stop(_State) ->
ok.
%%%%%%%%%%%%%%%%%%%%%%%%
at %% last has chinese type next line Syntax Hightlighting is bad.
Hi,
Yes, just like in my answer above, source code has to be latin-1 (ISO-8859-1)
regards,
Vlad
Vlad,
Could you provide more information on how to install a nightly build of ErlIDE? I'm unable to use ErlIDE because of ticket #3023947 on sourceforge.
The ticket's creator says that 0.8.5 indeed fixes the problem, but apparently it's a nightly build and I cannot find how to find it (or install it).
Can you help?
0.8.5 is available right now from http://erlide.org/update_nightly
Vlad,
The main project page for Erlide doesn't mention anything about compatibility with Eclipse 3.6 (it only mentions 3.5), but this post and the one before it makes it sound like it does work with 3.6. Is that right?
Thanks,
Matt
Hi Matt,
Yes, it works with 3.6 too and even with 4.0. I'll update the docs to mention that.
regards,
Vlad
Great! Thanks! I've just started reading Erlang and OTP in Action by Martin Logan et al. and I'm looking forward to trying out the code samples. :)
--Matt
Post a Comment