Validate breaks on Mac OS (even on Leopard - 10.5)
kili at outback.escape.de
Tue Oct 6 19:05:52 EDT 2009
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
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
$ iconv -l
$ iconv -l | cat
And on other systems, you'll see other output formats. So there's
no way to avoid per-system autoconf magic.
More information about the Cvs-ghc