External Publication
Visit Post

From-text: type class to convert from Text

Haskell Community [Unofficial] May 24, 2026
Source

BurningWitness:

Can we just do the “OsPath is WTF-8/UCS2LE” thing I proposed two years ago instead of whatever this is?

WTF-8 is used to have a single internal representation on both unix and windows. But it also comes with a fair amount of trade-offs, see The WTF-8 encoding

WTF-8 is a hack intended to be used internally in self-contained systems with components that need to support potentially ill-formed UTF-16 for legacy reasons.

It is not user facing and has no relevance for public API.

I also personally think it’s a rather poor decision by the rust ecosystem. You can see part of the fallout here: 2295-os-str-pattern - The Rust RFC Book

Discussion in the ATmosphere

Loading comments...