| Copyright | © 2018-2020 Albert Krewinkel |
|---|---|
| License | MIT |
| Maintainer | Albert Krewinkel <tarleb+hslua@zeitkraut.de> |
| Stability | beta |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Foreign.Lua.Utf8
Description
Encoding and decoding of String to and from UTF8.
Synopsis
- toString :: ByteString -> String
- toText :: ByteString -> Text
- fromString :: String -> ByteString
- fromText :: Text -> ByteString
Documentation
fromString :: String -> ByteString #
Encode to String using UTF-8.ByteString