On Tue, Oct 06, 2009 at 10:08:37AM +0100, Simon Marlow wrote:
> Apparently everyone's iconv is different.  You'd think that "UTF32LE" 
> would be a universal encoding name, but no.

Quoting the holy (and, in this case, not very helpful) open group
standard:

        Settings of fromcode and tocode and their permitted
        combinations are implementation-defined.

> I just hope I don't have to 
> write a ton of autoconf goop to make this work.

There's no generic way to deal with iconv. The open group standard
is a joke, even the output *format* of `iconv -l' (which shall list
avaiable codesets) is implementation defined. Try this on a Debian
Etch system:

$ iconv -l
$ iconv -l | cat

duh!

And on other systems, you'll see other output formats. So there's
no way to avoid per-system autoconf magic.

Ciao,
        Kili

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to