-- | Determines whether a character can be accurately encoded in a 'CString'.
-- Unrepresentable characters are converted to @\'?\'@.
--
-- Currently only Latin-1 characters are representable.
charIsRepresentable :: Char -> IO Bool
charIsRepresentable c = return (ord c < 256)
charIsRepresentable :: Char -> IO Bool
charIsRepresentable c = return (ord c < 256)
charIsRepresentable c = return (ord c < 256)