Thorny locale issue..
Two machines, A, which is Solaris 9 and B which is Solaris 10.
Both built by Jet, some months apart with the following as the locale definition.
base_config_sysidcfg_system_locale=en_GB.ISO8859-15
Both systems have the /etc/default/init set the same,
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-15
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-15
LC_NUMERIC=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15
However, where it gets screwy, create a use with a completely empty home directory, no .profile or .kshrc etc. to mess with things..
On the Solaris 9 machine
$ locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$
BUT - the solaris 10 machine something rather (annoyingly) different..
$ locale
LANG=en_GB.ISO8859-1
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME="en_GB"
LC_COLLATE="en_GB"
LC_MONETARY="en_GB"
LC_MESSAGES="en_GB"
LC_ALL=en_GB
Solaris 9 is Solaris 9 9/04 s9s_u7wos_09 SPARC
solaris 10 is Solaris 10 11/06 s10s_u3wos_10 SPARC
Can anyone please shed some light on this oddity, whilst we can set things on a per user basis in .profile, I need to know why there is a difference.
Cheers
DF

