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

pb localisation avec « ls » ...



	Bonjour,

  Sur une Woody, j'ai un petit souci avec la commande « ls » et la localisation : J'ai
un répertoire dont le nom contient un accent (Société), j'ai une localisation
française (LANG=fr_FR@euro) avec une police iso8859-15, mais quand je fais :

$ ls -d S*
Soci?t?

En revanche, si je fais :
$ LC_ALL=fr_FR@euro ls -d S*
Société

Le résultat est bon. Je ne comprends pas pourquoi (le LANG devrait suffire, non ?).
Pour info, locale me renvoie :

$ locale
LANG=fr_FR@euro
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

L'usage de LC_ALL est normalement réservé pour « écraser » tous les réglages de localisation
en cours, il n'est pas normal que je doive l'utiliser pour avoir un nom correct (accentué), non ?

	Merci de toute info,
		Fred.

-- 
Frédéric Boiteux  -  Calistel



Reply to: