[wplug] Perl locale setting

Ed Aiken Jr eaiken at home.com
Sat Dec 30 19:14:10 EST 2000


You may want to try to put the following into your .*chrc file:

setenv  LC_ALL en_US.ISO8859-1
setenv  LANG en_US
setenv  LANGUAGE en_US

The above will work for csh & tcsh.

/ed

On Sat, 30 Dec 2000, Matthew Wright wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I am running Mandrake 7.2.  When I run a perl script, I get the following:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LANGUAGE = "en",
> 	LC_ALL = "en",
> 	LC_CTYPE = "en",
> 	LC_COLLATE = "en",
> 	LC_TIME = "en",
> 	LC_MESSAGES = "en",
> 	LC_MONETARY = "en",
> 	LC_NUMERIC = "en",
> 	LANG = "en"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> My directory is as follows:
> 
> [matt at saturn matt]$ ls /usr/share/locale/
> C/		en_BW/			eo/	fr/		l10n/		sl/
> af/		en_CA/			es/     	ga/		locale.alias	sp/
> bg/		en_DK/			es_DO/	gd/		lt/		sr/
> bg_BG.cp1251/	en_GB/			es_ES/	gl/		lv/		sr_YU/
> ca/		en_GB.iso885915/	es_GT/	gv/		nl/		sv/
> cs/		en_GB at euro/		es_HN/	hr/		nn/		ta/
> cy/		en_IE/			es_MX/	hu/		no/		tr/
> da/		en_IE.iso885915/	es_PA/	iso8859/	pl/		uk/
> de/		en_IE at euro/		es_PE/	iso88591/	pt/		wa/
> el/		en_NZ/			es_SV/	it/		pt_BR/		zh_CN/
> en/		en_US/			et/	ja/		ro/		zh_CN.GB2312/
> en at euro/	en_ZA/			eu/	ko/		ru/		zh_TW.Big5/
> en_AU/		en_ZW/			fi/	kw/		sk/
> 
> Any help would be greatly appreciated.
> 
> - -- 
> - From the desk of:
> 
>   Matthew & Marietta Wright
> 
>      mattmar at telerama.com
>  http://www.telerama.com/~mattmar
>       PGP Key: 4C4C6434
>      
> "Let not the sands of time get in your lunch."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iEYEARECAAYFAjpOQhEACgkQErYqHExMZDSOkACfUOMIc0WTAHkZH3H2uNjJJvI0
> B8AAoNRxK14fHPWpYa/cJlehSPSbheOm
> =zaXc
> -----END PGP SIGNATURE-----
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 




More information about the wplug mailing list