Unix:How to know the code page of your HP UX
Most UNIX system has more than one code page installed.But they may use US-ASCII code page by default.You can change code page by changing the variable as LC_CTYPE,LC_ALL and LANG_C.
Now the code page seen in my HP UX is as follows:-
$ locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
** Here "C" means ASCII
To change the language to English and making the system to use Latin1( ISO 8859-1):-
$ setenv LANG en_US.iso88591
$locale
LANG=
LC_CTYPE="en_US.iso88591"
LC_COLLATE="en_US.iso88591"
LC_MONETARY="en_US.iso88591"
LC_NUMERIC="en_US.iso88591"
LC_TIME="en_US.iso88591"
LC_MESSAGES="en_US.iso88591"
LC_ALL="en_US.iso88591"
---: I am not responsible for any damages happened from the suggestion of my blog :---
Reach me at : m.a.hasim@inbox.com
Labels: Technical_HowTo_Unix
0 Comments:
Post a Comment
<< Home