Marshalling Haskell String <-> UTF-8

Ross Paterson ross at soi.city.ac.uk
Thu Sep 2 06:36:15 EDT 2004


On Wed, Sep 01, 2004 at 04:39:30PM -0700, John Meacham wrote:
> I should mention I have a new version of the CWString library in
> development that conforms to the new FFI spec and works on all posixy
> systems, not just those that have unicode wchar_t's like my first
> posting.  
> 
> It is not quite ready for release, but if there is a strong need I can
> package it up nicely. 

The most useful packaging would be as a patch against the HEAD version
of fptools/libraries/base/Foreign/C/String.hs

There may also be a difficulty in that you may require hsc2hs but I
think Simon wants to keep it out of low-level modules (?).


More information about the Glasgow-haskell-users mailing list