Re: What does charset in locale setting affect?

2012-09-03 Thread Tom H
On Sun, Sep 2, 2012 at 11:11 PM, Dan B. wrote: > > Are you sure about sed? > > I tried probing how LANG= vs. LANG=en_US.UTF-8 affected whether > the regular expression "[a-z]" matched "X". Grep seems to be > affected as expected, but sed never matched. (That's on Squeeze.) What commands dud you

Re: What does charset in locale setting affect?

2012-09-03 Thread Roger Leigh
On Sun, Sep 02, 2012 at 11:11:56PM -0400, Dan B. wrote: > Roger Leigh wrote: > >On Sat, Sep 01, 2012 at 07:32:48PM -0400, Dan B. wrote: > >... > > > >>Which common programs (e.g., getty, xterm/etc., sed/grep?) do something > >>different based on the charset portion of the local setting? > > > >All

Re: What does charset in locale setting affect?

2012-09-02 Thread Dan B.
Roger Leigh wrote: On Sat, Sep 01, 2012 at 07:32:48PM -0400, Dan B. wrote: ... Which common programs (e.g., getty, xterm/etc., sed/grep?) do something different based on the charset portion of the local setting? All of them, in short. When you run a terminal emulator such as xterm, it will g

Re: What does charset in locale setting affect?

2012-09-02 Thread Camaleón
On Sat, 01 Sep 2012 19:32:48 -0400, Dan B. wrote: > In a locale setting such as en_US.UTF-8 (e.g., LANG=en_US.UTF-8), what > exactly does the charset/character encoding part (UTF-8) affect? > > Which common programs (e.g., getty, xterm/etc., sed/grep?) do something > differe

Re: What does charset in locale setting affect?

2012-09-02 Thread Roger Leigh
On Sat, Sep 01, 2012 at 07:32:48PM -0400, Dan B. wrote: > In a locale setting such as en_US.UTF-8 (e.g., LANG=en_US.UTF-8), > what exactly does the charset/character encoding part (UTF-8) affect? This affects the character encoding that programs use for input and output. For example, if yo

What does charset in locale setting affect?

2012-09-01 Thread Dan B.
In a locale setting such as en_US.UTF-8 (e.g., LANG=en_US.UTF-8), what exactly does the charset/character encoding part (UTF-8) affect? Which common programs (e.g., getty, xterm/etc., sed/grep?) do something different based on the charset portion of the local setting? Thanks, Daniel -- To

Re: [Solved] Re: Locale setting different for root and user

2007-02-07 Thread Stephen
On Wed, Feb 07, 2007 at 08:24:32AM +0100 or thereabouts, Marcus Blumhagen wrote: > On Wed, Feb 07, 2007 at 12:20:37AM -0500, Stephen wrote: > > [...] > > It works just dandy now. Any idea why 'LC_ALL=' is blank after running > > 'dpkg-reconfigure locales' or is that anything to worry about ? > > [.

Re: [Solved] Re: Locale setting different for root and user

2007-02-06 Thread Marcus Blumhagen
On Wed, Feb 07, 2007 at 12:20:37AM -0500, Stephen wrote: > [...] > It works just dandy now. Any idea why 'LC_ALL=' is blank after running > 'dpkg-reconfigure locales' or is that anything to worry about ? > [...] LC_ALL is unset because it has higher priority than LANG and all other LC_*. If it wer

[Solved] Re: Locale setting different for root and user

2007-02-06 Thread Stephen
On Wed, Feb 07, 2007 at 06:05:53AM +0100 or thereabouts, Marcus Blumhagen wrote: > On Tue, Feb 06, 2007 at 11:27:04PM -0500, Stephen wrote: > > Why the difference, and what do I change to fix it? > Hi Stephen, Hi Marcus: > maybe it is set in your ~/.bashrc or ~/.bash_profile. You can find out

Re: Locale setting different for root and user

2007-02-06 Thread Marcus Blumhagen
On Tue, Feb 06, 2007 at 11:27:04PM -0500, Stephen wrote: > [...] > $ locale > [...] > LANG=en_CA.ISO-8859-1 > [...] > > # locale > LANG=en_CA.UTF-8 > [...] > > Why the difference, and what do I change to fix it? Hi Stephen, maybe it is set in your ~/.bashrc or ~/.bash_pr

Locale setting different for root and user

2007-02-06 Thread Stephen
I reconfigured locales on Etch from ISO-8859-1 to en_CA.UTF-8 'dpkg-reconfigure locales'. What's weird is that when I do 'locale' as a regular user I get the following; $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale

Re: How can I change the locale setting?

2004-12-05 Thread Sam Watkins
try: dpkg-reconfigure -plow locales -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: How can I change the locale setting?

2004-12-05 Thread Magnus Therning
On Wed, Dec 01, 2004 at 04:42:08PM -0500, Thomas H. George wrote: >I must have missed something very elementary. I can't find out how to >change the locale setting from POSIX to en_US. > >locale -a shows both are available. apropos locale provides a long >list of local

Re: How can I change the locale setting?

2004-12-02 Thread Kevin Mark
On Wed, Dec 01, 2004 at 04:42:08PM -0500, Thomas H. George wrote: > I must have missed something very elementary. I can't find out how to > change the locale setting from POSIX to en_US. > > locale -a shows both are available. apropos locale provides a long list > of local

Re: How can I change the locale setting?

2004-12-01 Thread Antonio Rodriguez
On Wed, Dec 01, 2004 at 04:42:08PM -0500, Thomas H. George wrote: > I must have missed something very elementary. I can't find out how to > change the locale setting from POSIX to en_US. > > locale -a shows both are available. apropos locale provides a long list > of local

Re: How can I change the locale setting?

2004-12-01 Thread Andrea Vettorello
On Wed, 01 Dec 2004 16:42:08 -0500, Thomas H. George <[EMAIL PROTECTED]> wrote: > I must have missed something very elementary. I can't find out how to > change the locale setting from POSIX to en_US. > > locale -a shows both are available. apropos locale provides

Re: How can I change the locale setting?

2004-12-01 Thread Jan C. Nordholz
On Wed, Dec 01, 2004 at 04:42:08PM -0500, Thomas H. George wrote: > I must have missed something very elementary. I can't find out how to > change the locale setting from POSIX to en_US. > > locale -a shows both are available. apropos locale provides a long list > of local

How can I change the locale setting?

2004-12-01 Thread Thomas H. George
I must have missed something very elementary. I can't find out how to change the locale setting from POSIX to en_US. locale -a shows both are available. apropos locale provides a long list of locale programs including setlocale. The man page for setlocale specifies the header to use i

Re: Locale setting problem

2003-08-03 Thread Colin Watson
On Sun, Aug 03, 2003 at 12:55:37PM -0400, Sridhar Srinivasan wrote: > On Sun, Aug 03, 2003 at 08:44:07AM -0700, Marc Wilson wrote: > > On Sun, Aug 03, 2003 at 10:52:26AM -0400, Sridhar Srinivasan wrote: > > > can anyone tell me what i'm doing wrong? > > > > Sure. You're not reading bug #166979.

Re: Locale setting problem

2003-08-03 Thread Sridhar Srinivasan
On Sun, Aug 03, 2003 at 08:44:07AM -0700, Marc Wilson wrote: > On Sun, Aug 03, 2003 at 10:52:26AM -0400, Sridhar Srinivasan wrote: > > i get messages about generating the new locales. my problem is that these > > new locales do not appear when i try locale -a. > > They won't. > > > can anyone tel

Re: Locale setting problem

2003-08-03 Thread Marc Wilson
On Sun, Aug 03, 2003 at 10:52:26AM -0400, Sridhar Srinivasan wrote: > i get messages about generating the new locales. my problem is that these > new locales do not appear when i try locale -a. They won't. > can anyone tell me what i'm doing wrong? Sure. You're not reading bug #166979. The loc

Locale setting problem

2003-08-03 Thread Sridhar Srinivasan
hi, my system (unstable) currently has the following locales set up for it: degoba:/etc# locale -a C POSIX i want to add some other locales like en_US to it so that i can see some of the special characters that are in emails on this list. i've tried dpkg-reconfigure locales to try to generate

Locale Setting

2002-06-30 Thread tvn1981
Hello I have this in my /etc/locale.gen en_US.UTF-8 UTF-8 then I export LC_CTYPE=en_US.UTF-8, but the prob is when I startx the fonts look big and weird .. not sure why . Anyone has any idea ? thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

Re: Locale setting on my console to see Japanese character

2002-05-20 Thread Jeff
Deepak Kotian, 2002-May-19 00:24 +0530: >Hi, > >I have all the locales on my machine. locale -a shows it. >I have set the LANG as japanese, but when I do "ls -l" at command prompt >on >a directory. I do not proper Japanese character in the >time stamp column of the outp

Locale setting on my console to see Japanese character

2002-05-18 Thread Deepak Kotian
Hi,   I have all the locales on my machine. locale -a shows it. I have set the LANG as japanese, but when I do "ls -l" at command prompt on a directory. I do not proper Japanese character in the time stamp column of the output. It is not English. It seems the terminal is not able to display