Copyright | (C) 2012-2015 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell98 |
Documentation
utf8 :: Prism' ByteString Text Source
EncodeDecode a strict Text
tofrom strict ByteString
, via UTF-8.
>>>
utf8 # "☃"
"\226\152\131"