fix charset problem on latin code files