On Sun, Sep 18, 2005 at 05:04:17PM -0500, Taral wrote: > On 9/18/05, David Roundy <[EMAIL PROTECTED]> wrote: > > Perhaps you could experiment with using the FFI to call isprint? > > > > foreign import ccall unsafe "static ctype.h isprint" isprint :: CInt -> CInt > > > > I suspect, though, that the isprint interface can't really work with > > UTF-8... > > The functions for unicode are in wctype.h.
But we don't have unicode characters... or at least we have no way of knowing if we have unicode characters. I suppose we could extract that from the locale, but then we'd also need to try to convert our contents from utf8 into unicode, which sounds like a bit of a nightmare to me. -- David Roundy http://www.darcs.net _______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
