Fix ugly encoding problem.