Encoding entries as utf8 while reading file.