External Publication
Visit Post

From-text: type class to convert from Text

Haskell Community [Unofficial] May 23, 2026
Source

Bodigrim:

It uses UTF-8 when converting to binary types without an associated encoding.

Minor nitpick: from-text converts WindowsString (and hence OsString on windows) to UTF-16 LE.

If you need other encodings, you can always use System.OsString.encodeWith.

Discussion in the ATmosphere

Loading comments...