setting locale en_US.UTF-8

hi,
I am using SOLARIS sparc 64 bit, during installation of Oracle i receive an error required OS locale en_US.UTF-8 does not exist on the installation computer. To avoid this issue, please ensure that the locale en_US.UTF-8 exists on the installation computer prior to installing Oracle.

when i check it from my solaris os it shows below results, kindly assist me that how locale en_US.UTF-8 is set. Thanks in advance

-bash-3.00$ locale -a
C
POSIX
en_US.UTF-8
iso_8859_1

May be your locale is not set to en_US.UTF-8 . Check the /etc/default/init file . You need to add the desired locale in this file. What is the content of /etc/default/init file ?

hi,
yes you are right there is no entry in init file , i have add the following lines.
Did the format is correct verify it so that i run again the application.

LANG=en_US.UTF-8
export LANG
LC_ALL=en_US.UTF-8
export LC_ALL

---------- Post updated at 02:53 PM ---------- Previous update was at 02:40 PM ----------

hi ,
The following message appeared while starting application, did i set the parameter correctly.

couldn't set locale correctly

a system reboot is required after setting the locale. After the restart please check the output of locale command

 
#locale

done , actually the below packages were not installed
SUNWeuluf and SUNWeu8os. SUNWnamos.

Thanks
Zeeshan
Pakistan