Any help appreciated. I am connecting (FTP) to a NAS PRO box that is currently installed on one of our subnets in Hong Kong from a Solaris
system running Solaris 10 (our backup server). The NAS box has a backup job that backs up all user documents locally. I am trying to ftp the docs from the NAS to our backup server however the docs are saved in Chinese characters (Hong Kong).
I have tried installing the Hong Kong Traditional Chinese Localization by doing the following:
Code:
# localeadm -a zh_HK -d /cdrom/sol_10_305_lang_sparc
Log file is /var/sadm/install/logs/localeadmin_install.2010-04-09.7
locale/region name is zh_hk
Warning! You have chosen the zh_HK locale rather than a region to install.
This locale is part of the Traditional Chinese (Hong Kong) region. If you choose to continue, all of the locales in this region will
be installed.
Do you wish to continue? [y/n]: y
Adding packages for Traditional Chinese (Hong Kong) (hongkong)
Region hongkong will be installed.
Operating System is Solaris 10
Checking for a valid disk image:
Devices are /cdrom/sol_10_305_lang_sparc
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
Checking for a solaris 1
|...............|
No solaris1 image has been found in
/cdrom/sol_10_305_lang_sparc/components/TraditionalChineseHongKong/sparc/Packages
You need at least a solaris1 image to add any locales.
Please provide the path to a solaris1 image.
Please enter the path to this image/disk, or enter 'q' to quit:
(if this image is on CD-ROM, please mount the disk and give the path to the CD-ROM drive e.g. /cdrom/cdrom0)
As I was unable to install using the localeadm command I used ./installer
1. No Install
2. Default Install
3. Custom Install
Selection for Solaris 10 Swedish Localization [2] 1
Select the type of installation you want for each product.
No Install Default Install Custom Install Product
---------- --------------- -------------- -------
0. [X] [ ] [ ] Solaris 10 Japanese
Localization
1. [X] [ ] [ ] Solaris 10 Korean
Localization
2. [X] [ ] [ ] Solaris 10 Simplified
Chinese Localization
3. [X] [ ] [ ] Solaris 10 Traditional
Chinese Localization
4. [ ] [X] [ ] Solaris 10 Hong Kong
Traditional Chinese Localization
5. [X] [ ] [ ] Solaris 10 German
Localization
6. [X] [ ] [ ] Solaris 10 Italian
Localization
7. [X] [ ] [ ] Solaris 10 French
Localization
8. [X] [ ] [ ] Solaris 10 Spanish
Localization
9. [X] [ ] [ ] Solaris 10 Swedish
Localization
10. Done
Enter the number next to the product you wish to change. Select "Done" when
finished [10]: 10
Checking disk space.
The following items will be installed:
Product: Solaris 10 Hong Kong Traditional Chinese Localization
Location: /usr
Size: 115.78 MB
--------------------------------------------------------------
Solaris 10 Traditional Chinese Common Localization 89.22 MB
SunOS 4.x Asian Compatibility Localization 812 bytes
Solaris 10 Traditional Chinese HK Localization 23.76 MB
Asian User Defined Character Tool for CDE 2.81 MB
Ready to Install
1. Install Now
2. Start Over
3. Exit Installation
What would you like to do [1]? 1
Installing Solaris 10 Hong Kong Traditional Chinese Localization
|-1%--------------25%-----------------50%-----------------75%--------------100%|
Installation details:
Product Result More Info
1. Solaris 10 Hong Kong Traditional Chinese Localization Installed
Available
2. Done
Enter the number corresponding to the desired selection for more
information, or enter 2 to continue [2]: 2
This does not seem to have made any difference, when I run the localeadm -lc command it still shows only my default locale.
Im not sure if this is the correct way to install the Hong Kong locale or if this is going to resolve the issue of ftp,ing chinese characters so that the Solaris server can recognise the files. At this stage I cannot type or copy & paste the name of the files to be ftp'd across.
If anyone has had a similiar problem and managed to resolve then any help would be much appreciated.
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)
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)
: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)
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)
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)
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)
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)
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)
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)