[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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
> by running:
> 
> 	$ cat ~/.bashrc ~/.bash_profile | grep "LANG="
> 
> I suspect this will return a line like this:
> 
> 	export LANG=en_CA.ISO-8859-1

Wasn't in either.

> If so, you need to find out whether it is in ~/.bashrc or
> ~/.bash_profile and change it to:
> 
> 	export LANG=en_CA.UTF-8
>
> Anyway adding this last line to one of those two files should solve
> your problem. You will have to logout and login again to make the
> changes take effect.

Thanks very much Marcus ! 

It works just dandy now. Any idea why 'LC_ALL=' is blank after running
'dpkg-reconfigure locales' or is that anything to worry about ?

-- 
Regards
Stephen A.
                                                   
Encrypted/Signed e-mail accepted (GPG or PGP) -- Key ID: 978BA045
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Something's rotten in the state of Denmark.
		-- Shakespeare
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Attachment: signature.asc
Description: Digital signature


Reply to: