Can't convert to UTF-8: Cannot convert the local codeset strings to UTF-8

Description
The integration of the locale fix 6740240 added a new dependency of the libssh against the locale framework and will cause error messages on systems where the iconv data for UTF-8 is not available. This does affected the server (sshd) as well as the client (ssh).

If the ssh component (client or server) is run on a system with the bugfix for 6740240 but without the package SUNWuiu8 (and possibly other locale packages) then the following error message will be seen during connection establishment:

# locale -a
C
POSIX
iso_8859_1
# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
# ssh localhost
invalid UTF-8 sequence: Cannot convert UTF-8 strings to the local codeset
invalid UTF-8 sequence: Cannot convert UTF-8 strings to the local codeset
invalid UTF-8 sequence: Cannot convert UTF-8 strings to the local codeset
invalid UTF-8 sequence: Cannot convert UTF-8 strings to the local codeset
Password:
Last login: Mon Aug 17 16:55:42 2009 from localhost
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
#

The server (sshd) will log the error message to syslog where we can see:

Aug 17 16:58:42 hostname sshd[4629]: [ID 800047 auth.error] error: Can't convert to UTF-8: Cannot convert the local codeset strings to UTF-8
Aug 17 16:58:44 hostname last message repeated 3 times

This happens on systems where the /usr/lib/iconv/ directory is missing because the relevant locale packages have not been installed. Previously the ssh code had no dependecy on the iconv data and therefore the SUNWssh* packages have no dependecy on SUNWuiu8.
Note that SUNWssh* is not in SUNWCreq, but it is usually post installed as a part of the minimalized installation (SUNWCreq+SUNWssh*). It's therefore more likely that systems with minimized installations do not have the UTF-8 iconv data installed.

Systems installed with the "End User System Support" install cluster (or higher) will not exhibit this problem as the UTF-8 iconv data has been installed, because SUNWssh* and SUNWuiu8 packages are in the same metacluster.
Work Around
Install the missing package SUNWuiu8.
And some time following packages are required as well for older nevada release (before IPS).

SUNWiconv-extra2
SUNWiconv-unicode

These packages are not available for S10.
Comments
The error messages are harmless but annoying. They can be ignored but we should evaluate whether they should be printed in the first case.
I close this bug, because this bug is not related to SSH. It is bug in packaging which unfortunatelly cannot be fixed on Solaris 10. Users who are afffected by this issue needs to install appropriate iconv packages.
Final decision is to fix dependency which helps only on a freshly installed S10U9 and newer systems.