Sponsored Content
Full Discussion: LANG=C not English?
Operating Systems Linux Ubuntu LANG=C not English? Post 302173131 by jim mcnamara on Wednesday 5th of March 2008 04:56:45 PM
Old 03-05-2008
Try:
Code:
LC_ALL=C
# or maybe 
LC_ALL=POSIX

Each of those settings yo displayed is an enviromnment variable that can be set independently. LC_ALL is the only one that changes all of the other settings.

One place that explains locale settings in a useful way is to go to
The Open Group - Making Standards Work and search for locale. It is many pages of reading. Neo also placed a link to get the POSIX standards in pdf format - it is on the forums here.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

bc arbitrary precision cal lang

Hello all, I don't know ksh that well but when I try to run a simple script using the bc command I get "unexpected '.' ", has any one encouter this or help me. I'm running under redaht 7.2. Here is a simple example: #!/bin/ksh # kilo=`echo "2495 * .25"|bc` if then echo "LESS THEN"... (2 Replies)
Discussion started by: larry
2 Replies

2. 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

3. UNIX for Dummies Questions & Answers

Where to set the LANG variable

When I login to my AIX server, the LANG variable is automatically being set to En_US. This is causing locale warning messages when I run emacs or perl. The reason seems to be that En_US is not a valid locale (seen by running locale -a). I can change the variable from the command line (export... (3 Replies)
Discussion started by: wvdeijk
3 Replies

4. Solaris

java.lang.OutofMemoryError in Sun Studio 12

Hello everyone, I have installed Sun Studio 12 in my Sun Solaris 10 (x86) OS. At first, there was nothing wrong with it but recently, I couldn't open the Sun Studio IDE. When I try to open it, I keep on getting the following error messages:... (2 Replies)
Discussion started by: wintersakura
2 Replies

5. UNIX for Dummies Questions & Answers

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... (2 Replies)
Discussion started by: deedaz
2 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. 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

8. 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

9. 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
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy