handle utf-16 files