solve encoding problem.