News for hackers. Stuff that matters.
Re:How UTF-8 Works by BiteCode_dev on Tuesday February 08, 2022 @05:29PM (#30265765)
Nowadays, passing bytes to any os function returns bytes objects, not unicode. You'll get string if you pass string objects though, and they will be using utf8 surrogate escaping.
Re:How UTF-8 Works by morelisp on Wednesday February 09, 2022 @06:58AM (#30271639)
And nowadays, lots of people left the Python ecosystem completely because the 3 upgrade was broken and raising so many UnicodeDecodingErrors for so long. I'm glad it's fixed but it cost too much.

(And it had nothing to do with UTF-8. Actually, it's at least partially caused by the CPython developers avoiding UTF-8 for poor reasons.)