Escape bad, non-ASCII characters