Browse Source

unicode take 2

Namdak Tonpa 9 years ago
parent
commit
a0f684f929
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/provision/mad_repl.erl

+ 1 - 1
src/provision/mad_repl.erl

@@ -31,7 +31,7 @@ load_config() ->
    Apps = case Config of
         [] -> case mad_repl:load_file("sys.config") of
               {error,_} -> [];
-              {ok,Bin} -> parse(binary_to_list(Bin)) end;
+              {ok,Bin} -> parse(unicode:characters_to_list(Bin)) end;
       File -> case file:consult(hd(File)) of
               {error,_} -> [];
               {ok,[A]} -> A end end,