Hacker News new | ask | show | jobs
by nezirus 1883 days ago
Yeah, I'd like to see that as well, something like to_string_lossy(), but really fast, so I can call it whenever I expect occasional broken UTF-8 string (and don't care about few replaced characters).