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

Locale setting different for root and user



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: Cannot set LC_MESSAGES to default locale: No such file
	or directory
	locale: Cannot set LC_ALL to default locale: No such file or
	directory
	LANG=en_CA.ISO-8859-1
	LC_CTYPE="en_CA.ISO-8859-1"
	LC_NUMERIC="en_CA.ISO-8859-1"
	LC_TIME="en_CA.ISO-8859-1"
	LC_COLLATE="en_CA.ISO-8859-1"
	LC_MONETARY="en_CA.ISO-8859-1"
	LC_MESSAGES="en_CA.ISO-8859-1"
	LC_PAPER="en_CA.ISO-8859-1"
	LC_NAME="en_CA.ISO-8859-1"
	LC_ADDRESS="en_CA.ISO-8859-1"
	LC_TELEPHONE="en_CA.ISO-8859-1"
	LC_MEASUREMENT="en_CA.ISO-8859-1"
	LC_IDENTIFICATION="en_CA.ISO-8859-1"
	LC_ALL=

But when run as root;

	# locale
	LANG=en_CA.UTF-8
	LANGUAGE=en_CA:en_US:en_GB:en
	LC_CTYPE="en_CA.UTF-8"
	LC_NUMERIC="en_CA.UTF-8"
	LC_TIME="en_CA.UTF-8"
	LC_COLLATE="en_CA.UTF-8"
	LC_MONETARY="en_CA.UTF-8"
	LC_MESSAGES="en_CA.UTF-8"
	LC_PAPER="en_CA.UTF-8"
	LC_NAME="en_CA.UTF-8"
	LC_ADDRESS="en_CA.UTF-8"
	LC_TELEPHONE="en_CA.UTF-8"
	LC_MEASUREMENT="en_CA.UTF-8"
	LC_IDENTIFICATION="en_CA.UTF-8"
	LC_ALL=

Why the difference, and what do I change to fix it?

Thanks.
-- 
Regards
Stephen A.
                                                   
Encrypted/Signed e-mail accepted (GPG or PGP) -- Key ID: 978BA045
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
		-- Jack Kerouac, "On the Road"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Attachment: signature.asc
Description: Digital signature


Reply to: