Setting the $LANG info needed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Setting the $LANG info needed
# 1  
Old 01-27-2008
Setting the $LANG info needed

Hello

(Very New to UNIX -Solaris 10)

I'm trying to set the LANG variable to C but not sure if it's getting set, need some help on this.

Currently I have it set to en_GB.UTF-8

I need to set it to C for an install. but when I run set LANG=C and then run echo $LANG its still set to en_GB.UTF-8.

Can anyone shed some light on how can I get it set to C.

Rgds

D
# 2  
Old 01-27-2008
To set locale to C
Code:
export LANG=C

To check current locale
Code:
locale

# 3  
Old 01-27-2008
Many thanks

D
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

/etc/default/init LANG Setting Not Working

Hey guys, I'm setting up a new server(Fujitsu M10-4 / Solaris 10 1/13) to move our app/DB and I'm having trouble figuring out why my LANG setting is not taking effect. I'm trying to set LANG=C in the /etc/default/init file which should make it the default system wide from what I gather. However... (7 Replies)
Discussion started by: kaledragule
7 Replies

2. AIX

Undestanding LANG setting in /etc/environment

Hi All, We had issue with a application which reports process counts in log, application used to log process counts as Integer data type (1500). One fine morning we started seeing process counts in application log as Decimal (1,500). Our UNIX admin did investigate and figured-out that... (5 Replies)
Discussion started by: Aaron Boyce
5 Replies

3. HP-UX

install arabic lang

hi how to install arabic language and set it as default in hpux. also there is any website provide vm for hpunix for testing. (2 Replies)
Discussion started by: drpix
2 Replies

4. UNIX for Advanced & Expert Users

Setting up Dual Monitor info and help

This is a nice little article for setting up dual monitors. Ubuntu Tips: How To Setup Dual Monitor (link removed) Does anyone know how to do this from the terminal? I wanted to add a key detail that was neglected from the first article I read. This only matters if you are trying to... (3 Replies)
Discussion started by: cokedude
3 Replies

5. UNIX for Dummies Questions & Answers

Advice needed setting up a barebones VPS

I just got a barebones VPS (Debian), I want to use this for the following: -Email and Newsgroups (Using Alpine) -IM (Using CenterIM) -Webhost (using lighttpd) -Private proxy (Using SSH port forwarding) (using Putty on my desktop) So far I have installed: -Lighttpd -Bind9 -Postfix ... (0 Replies)
Discussion started by: malcarada
0 Replies

6. Programming

How to do 'export LANG=en" Using C

Hi Could you please help me How to program Linux shell commands using C. I want set Language environment before start a particular application. Example:- export LANG=hi_IN.UTF-8 gedit This will start Localized Hindi( Indian Language) version of the 'gedit', if the Hindi language... (2 Replies)
Discussion started by: Ram Das
2 Replies

7. Ubuntu

LANG=C not English?

On Ubuntu 7.04, why would the "C" LANG parameter not be English: $ LANG=C locale LANG=C LANGUAGE=he_IL:he:en_GB:en LC_CTYPE="he_IL.utf8" LC_NUMERIC="he_IL.utf8" LC_TIME="he_IL.utf8" LC_COLLATE="he_IL.utf8" LC_MONETARY="he_IL.utf8" LC_MESSAGES="he_IL.utf8" LC_PAPER="he_IL.utf8"... (4 Replies)
Discussion started by: dotancohen
4 Replies

8. UNIX for Advanced & Expert Users

Urgent help needed for ksh shell setting

Today I logged as root on my HP-UX server and by mistake executed below command # ksh -i vi Then onwards for every root logging the ksh shell giving wired output to every command e.g # ls kÚ .brw_history .brwpause .brwtmp : : : 1+~H4p+À+~KÑ 1+Ðè d 15kÚ 1d+~èYÑd:ðè½h|À+~èY4:àh|À+ And so... (6 Replies)
Discussion started by: zing_foru
6 Replies

9. UNIX for Dummies Questions & Answers

Lang

Hi, I have LANG set to C.iso88591 what does this value mean and what other options do I have? The problem is that I am using mailx to send out reports. When the report arrives the email has a lot of details about a charecter set not being supported. I don't want to have a null value... (0 Replies)
Discussion started by: nhatch
0 Replies

10. UNIX for Dummies Questions & Answers

Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8

I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8 David Johnston P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
Login or Register to Ask a Question