Fixing unmappable characters for UTF8 encoding