Fixes an encoding issue.