fixes unmappable character for encoding UTF-8