Properly quote unprintables mixed with unicode