darcs-2.14.1: a distributed, interactive, smart revision control system

Encode a String into a ByteString according to the user's locale with the ghc specific //ROUNDTRIP feature added. This means the argument is allowed to contain non-Unicode Chars as produced by decode.
Decode a ByteString into a String according to the user's locale with the ghc specific //ROUNDTRIP feature added. This means the result may contain Chars that are not valid Unicode in case decoding with the user's locale fails.