Resolve encoding issue.