Re: release notes: Solaris



Owen Taylor wrote:

> One thing that most likely should be noted is in the GLib README:
> 
>  If you are using the native iconv implementation on Solaris
>  instead of libiconv, you'll need to make sure that you have 
>  the converters between locale encodings and UTF-8 installed.
>  At a minimum you'll need the SUNWuiu8 package. You probably
>  should also install the SUNWciu8, SUNWhiu8, SUNWjiu8, and
>  SUNWkiu8 packages.
> 
> This is the most common problem I've seen reported about GTK+
> on Solaris.

Are you sure that's enough? Even with all Solaris packages installed,
iconv_open() won't be able to convert between, say, "iso-8859-1" and
"utf-8". It won't accept anything in lower case, for a start. But even if
you use upper case names, the above conversion won't be accepted. (It will
accept only 8859-1 and ISO8859-1 as valid names for Latin 1.)

The problem can be somewhat eased by creating approx. 2000 symlinks in
/usr/lib/iconv, but that still doesn't give you conversions from UTF-8 to
UTF-8. GNU gettext will try to use that kind of thing internaly. I don't
know about Glib.

> I don't know if this applies to Solaris 9

It got an alias table, so one doesn't need thousands of symlinks, but
still conversions where from and to codes are the same are not accepted.
The base package name is still SUNWuiu8.

-- 
 .-.   .-.    I don't work here. I'm a consultant.
(_  \ /  _)
     |        dave willfork com
     |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]