Fix encoding problem on errors