fix(bin/ltags): open .ilean files with UTF-8 encoding

fix #376
This commit is contained in:
Soonho Kong 2014-12-15 12:01:22 -05:00
parent 7c8ab81cc6
commit 6903118900

View file

@ -79,7 +79,7 @@ def convert_position_to_etag_style(info):
def extract_info_from_ilean(ilean_file, decl_dict, args):
info = []
with open(ilean_file) as f:
with codecs.open(ilean_file, "r", "utf-8") as f:
for line in f:
array = line[:-1].split("|")
item = {}