utf-8 encode file content