Added some replacements for unicode not being encoded.