- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is LANG?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:13 PM
06-12-2003 04:13 PM
Can someone please explain to me what locale "C" means? Does it means US7ASCII is my default characterset? Thanks
$ locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:41 PM
06-12-2003 04:41 PM
Re: What is LANG?
If LANG is not set (default) your default setting is 7bit coded USASCII character set.
You can set the LANG as you wish (locale -a provides the choices) and you can set them as default in /etc/rc.config.d/LANG file.
Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 05:31 PM
06-12-2003 05:31 PM
SolutionC is equal to POSIX on HP-UX, and defines an environment without NSL (native language support). And yes, it is based on 7-bit USASCII.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 11:23 PM
06-12-2003 11:23 PM
Re: What is LANG?
The LANG and the other that you write here
define your localization language,
the C is the default standart language.
In what you wrote the LANG= -> LANG=C
The LANG env. understand programs and can
run depend on him.
You can change it to difrent language made
the locale, open the terminal with font for
the choosen language and say run date and
you will see the month name on that language.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:02 AM
06-13-2003 10:02 AM
Re: What is LANG?
I have 1 more question to ask. Let say if I logged on to HP-UX server using my Exceed client/or any Terminal emulation software and set LANG=univ.UTF8. Now my session has local language set to UTF8 but the default LANG setup on the server is still C(US7ASCII) because I do not have anything setup in my /etc/rc.config.d/LANG. If I create a file from my UTF8 session. Will the file be saved as UTF8 or US7ASCII format on my HP-UX server.
Thanks.