Solaris vs. iconv: workaround

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Solaris vs. iconv: workaround

Andrew Gaylard
 
I've been experiencing Squeak on Solaris printing

    iconv_open: Invalid argument

a zillion times over.

Looking at the mailing list archives, this has been a
problem on and off for a long time.  I first tried
compiling with --disable-iconv, which fixed the error,
but then some of the plugins complained that they
couldn't convert strings.  So I decided against that.

I've managed to work around it by as follows:

    su -
    cd /usr/lib/iconv
    cp mac%alt.so MACINTOSH%UTF-8.so
    cp alt%mac.so UTF-8%MACINTOSH.so

This seems to shut up all the messages.  But I'm
nervous, since I suspect that "alt" probably isn't
the whole of UTF8...

Andrew