Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | [email protected] |
System.Glib.UTFString
Description
This module adds CString-like functions that handle UTF8 strings.
Documentation
withUTFStringLen :: String -> (CStringLen -> IO a) -> IO aSource
newUTFString :: String -> IO CStringSource
peekUTFString :: CString -> IO StringSource
readUTFString :: CString -> IO StringSource
readCString :: CString -> IO StringSource
data UTFCorrection Source
Instances
ofsToUTF :: Int -> UTFCorrection -> IntSource
ofsFromUTF :: Int -> UTFCorrection -> IntSource