Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
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
ofsToUTF :: Int -> UTFCorrection -> IntSource
ofsFromUTF :: Int -> UTFCorrection -> IntSource