Sponsored Content
Full Discussion: Installing Hong Kong Locale
Operating Systems Solaris Installing Hong Kong Locale Post 302414725 by jamba1 on Tuesday 20th of April 2010 10:40:30 PM
Old 04-20-2010
Code:
# locale -a
C
POSIX
en_AU
en_AU.ISO8859-1
en_AU.UTF-8
en_NZ
en_NZ.ISO8859-1
en_NZ.UTF-8
iso_8859_1
zh_HK.BIG5HK
zh_HK.UTF-8
zh_TW
zh_TW.BIG5
zh_TW.EUC
zh_TW.UTF-8

# grep -v "^#" /etc/default/init
TZ=Australia/Queensland
CMASK=022

# set | grep LC
MAILCHECK=600

# pwd
/usr/lib/locale
# ls -ltr
total 46
-rw-r--r--   1 root     bin         1848 Dec  9  2004 lcttab
-rw-r--r--   1 root     bin          270 Dec  9  2004 geo
drwxr-xr-x   8 root     bin          512 Jan  4  2007 C
drwxr-xr-x   9 root     bin          512 Jan  4  2007 en_NZ.ISO8859-1
drwxr-xr-x  10 root     bin          512 Jan  4  2007 en_AU.UTF-8
drwxr-xr-x   9 root     bin          512 Jan  4  2007 en_AU.ISO8859-1
drwxr-xr-x   3 root     bin          512 Jan  4  2007 en_AU
drwxr-xr-x  10 root     bin          512 Jan  4  2007 en_NZ.UTF-8
drwxr-xr-x   3 root     bin          512 Jan  4  2007 en_NZ
drwxr-xr-x   4 root     bin          512 Jan  4  2007 iso_8859_1
drwxr-xr-x   5 root     bin          512 Jan  4  2007 common
lrwxrwxrwx   1 root     root           3 Jun 29  2008 POSIX -> ./C
drwxr-xr-x   2 root     bin          512 Apr 12 16:00 zh_TW.EUC
drwxr-xr-x   3 root     bin          512 Apr 12 16:02 zh_HK.BIG5HK
drwxr-xr-x   3 root     bin          512 Apr 12 16:02 zh_HK.UTF-8
drwxr-xr-x   4 root     bin          512 Apr 12 16:02 zh_TW.BIG5
drwxr-xr-x   4 root     bin          512 Apr 12 16:02 zh_TW.UTF-8
drwxr-xr-x   4 root     bin          512 Apr 12 16:02 zh_TW
drwxr-xr-x   3 root     bin          512 Apr 12 16:03 zh_HK.BIG5HK@radical
drwxr-xr-x   3 root     bin          512 Apr 12 16:03 zh_HK.BIG5HK@stroke
drwxr-xr-x   3 root     bin          512 Apr 12 16:03 zh_HK.UTF-8@radical
drwxr-xr-x   3 root     bin          512 Apr 12 16:03 zh_HK.UTF-8@stroke

 

10 More Discussions You Might Find Interesting

1. Programming

Locale setting

Hi, In the sample program, I am trying to print a Japanese string. The code is as follows: main() { setlocale(LC_ALL,""); printf("String is %S\n", L"JAP"); // Note "JAP" is a valid japanese string } If locale is C, the string gets printed, but if it a valid japanese locale, it... (1 Reply)
Discussion started by: Dippan
1 Replies

2. UNIX for Dummies Questions & Answers

Input Locale

Hi Guys, Any ideas on how to install the zh_CN (Simplified Chinese) input locale for AIX5.2 ? Can't seem to find it any where. S. (2 Replies)
Discussion started by: stumpy
2 Replies

3. Solaris

Installing European Locale Packages

I have installed the locale package for en_GB and if i do a locale -a (after reboot) it will display: en_GB en_GB.ISO8859-1 en_GB.ISO8859-15 en_GB.ISO8859-15@euro (short version) and i get this when typing only 'locale': # locale LANG=en_GB LC_CTYPE="C" LC_NUMERIC=C LC_TIME="C"... (2 Replies)
Discussion started by: xqtor
2 Replies

4. UNIX for Dummies Questions & Answers

Using locale

:confused: Can anyone tell me how to test that locale is working properly in commands like awk, basename, bg, cd, cmp, col, command, csplit, cut, echo, egrep For ex. suppose I have changed locale using LC_ALL=german_germany.8859 export LC_ALL now i want to test(see) it's effect on... (3 Replies)
Discussion started by: alodha
3 Replies

5. Solaris

Setting TImezone fr Hong kong

Hi, In solaris how to change the timezone to display to HKT I tried by putting TZ=Hongkong or TZ=Asia/Hong_kong but it is taking me to the display of CST. how to change it to HKT thanks Bala (1 Reply)
Discussion started by: Balamurugan
1 Replies

6. Shell Programming and Scripting

Script to convert GMT to Asia/Hong Kong time

hi friends, this is my first time with this type of script so please pardon my ignorance. i have this script in which a piece of code needs to be added which can have the Asia/Hong kong time as well. system date and format is GMT so no problem with GMT and even EST is covered..i have ato add new... (5 Replies)
Discussion started by: xejatt
5 Replies

7. Solaris

Locale installation..

Hi All, I need to install a swedish locale on a solaris machine(ver. 10).I have the package downloaded.Can anyone please guide me through the steps and things i need to keep in mind when doing the same? (7 Replies)
Discussion started by: sankasu
7 Replies

8. Shell Programming and Scripting

sftp without locale

Hi all, today i encounter one weird problem. I tried to do the sftp of one file from one server to another and try to load that file in some datawarehouse with a informatica(extraction,tranformation and loading tool) . But the tool is rejecting all later i found that there is some problem in... (0 Replies)
Discussion started by: narang.mohit
0 Replies

9. Solaris

Locale changes?

I am upgrading a machine to Solaris 10 and noticed a change that would cause a problem for us. We have always used en_US.ISO8859-1 and selected that when setting up the new system. This is the format on our old system $ date Fri Sep 21 10:35:51 PDT 2012 And this is what I got on our old... (1 Reply)
Discussion started by: Bryan.Eidson
1 Replies

10. Solaris

Error on installing locale

Hi guys, I'm installing locale (en_US.UTF-8) from solaris 10 DVD as follows in a non-global zone: localeadm -a nam -d /cdrom/sol_10_807_sparc/s0/Solaris_10/Product It does install some packages and then prompts : No solaris3 image has been found in... (0 Replies)
Discussion started by: frum
0 Replies
All times are GMT -4. The time now is 03:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy