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