[erlang-questions] Newbie: escaped characters are not escaped

Philippe de Rochambeau <>
Sun Dec 9 16:04:16 CET 2007


I can' t get erlang to display iso-latin-1 accented characters on  
macosx in Erlang (BEAM) emulator version 5.5.4 [source] [async- 
threads:0] [hipe] [kernel-poll:false].

Here's my test script (saved as an unix file with the iso-latin-1  
character set encoding):


go() ->
	io:format("Les éléphants~n"),
	io:format("Les \351 l \351 phants~n").
Here's the output on a terminal that uses the iso-latin-1 character  
set encoding:

Les \351l\351phants
Les \351l\351phants

Why doesn't erlang escape \351?

Many thanks.

Best regards,


More information about the erlang-questions mailing list