|
System.Glib.UTFString | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
Description |
This module adds CString-like functions that handle UTF8 strings.
|
|
|
Documentation |
|
withUTFString :: String -> (CString -> IO a) -> IO a |
|
withUTFStringLen :: String -> (CStringLen -> IO a) -> IO a |
|
newUTFString :: String -> IO CString |
|
newUTFStringLen :: String -> IO CStringLen |
|
peekUTFString :: CString -> IO String |
|
peekUTFStringLen :: CStringLen -> IO String |
|
readUTFString :: CString -> IO String |
|
readCString :: CString -> IO String |
|
withUTFStrings :: [String] -> ([CString] -> IO a) -> IO a |
|
withUTFStringArray :: [String] -> (Ptr CString -> IO a) -> IO a |
|
withUTFStringArray0 :: [String] -> (Ptr CString -> IO a) -> IO a |
|
peekUTFStringArray :: Int -> Ptr CString -> IO [String] |
|
peekUTFStringArray0 :: Ptr CString -> IO [String] |
|
data UTFCorrection |
Instances | |
|
|
genUTFOfs :: String -> UTFCorrection |
|
ofsToUTF :: Int -> UTFCorrection -> Int |
|
ofsFromUTF :: Int -> UTFCorrection -> Int |
|
Produced by Haddock version 0.8 |