Fix encoding issue for CJK files