Fix compilation on pre-R17

This commit is contained in:
Paweł Chmielowski 2014-04-15 16:58:06 +02:00 committed by Badlop
parent d97b4fd9ca
commit 7af7b7d3f0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ load_dir(Dir) ->
load_file(Lang, File) ->
case file:open(File, [read]) of
{ok, Fd} ->
epp:set_encoding(Fd, latin1),
io:setopts(Fd, [{encoding,latin1}]),
load_file_loop(Fd, 1, File, Lang),
file:close(Fd);
Error ->