Deal with file encoding problems by using iconv-lite.
Doc and unit test were both updated.