News for hackers. Stuff that matters.
Re:Mercurial’s journey to and reflections on Python 3 by steveklabnik on Monday January 13, 2020 @01:48PM (#22037306)
The blog post talks about this a bit in Rust, but we don't actually say that. We do make that the default, but we also give you the ability to get at the underlying things as well. There's a lot of interesting work here, actually, like WTF-8...
Re:Mercurial’s journey to and reflections on Python 3 by kevingadd on Monday January 13, 2020 @02:09PM (#22037504)
In the wild WTF-8 and its 16-bit equivalent show up more often than you'd expect. I ended up discovering a case recently where part of the .NET executable file format is actually encoding strings as WTF-16 (not UTF-16) and any internal lowering needs to map them to WTF-8 instead of UTF-8. Until that point I had expected to only ever encounter WTF-8 in web browsers!