[darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

David Roundy droundy at abridgegame.org
Mon Sep 19 05:54:58 PDT 2005


On Sun, Sep 18, 2005 at 05:04:17PM -0500, Taral wrote:
> On 9/18/05, David Roundy <droundy at abridgegame.org> 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




More information about the darcs-devel mailing list