Remove characters which cause unmappable encoding for UTF8