Fixed some encoding errors recently introduced.

Thanks Josh.