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

Re: Problèmes de locales..



On 29 Feb 2004, Denis Barbier verbalised:

> > > J'ai passé mon système en fr_BE avec dpkg-reconfigure locale
> 
> Quel est le contenu du fichier /etc/environemnt ?

,----[ environment ]
| 
| LANG=fr_FR@euro
`----

> Que renvoient les commandes
> $ debconf-show locales

,----
| % debconf-show locales 
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
|         LANGUAGE = (unset),
|         LC_ALL = (unset),
|         LC_CTYPE = "en_US.UTF-8",
|         LANG = (unset)
|     are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| locale: Cannot set LC_CTYPE to default locale: No such file or directory
| locale: Cannot set LC_ALL to default locale: No such file or directory
| debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
| * locales/default_environment_locale: fr_FR@euro
| * locales/locales_to_be_generated: fr_FR ISO-8859-1, fr_FR.UTF-8 UTF-8, fr_FR.UTF-8@euro UTF-8, fr_FR@euro ISO-8859-15
`----

> $ locale

,----
| % locale
| locale: Cannot set LC_CTYPE to default locale: No such file or directory
| locale: Cannot set LC_ALL to default locale: No such file or directory
| LANG=POSIX
| LC_CTYPE=en_US.UTF-8
| LC_NUMERIC="POSIX"
| LC_TIME="POSIX"
| LC_COLLATE="POSIX"
| LC_MONETARY="POSIX"
| LC_MESSAGES="POSIX"
| LC_PAPER="POSIX"
| LC_NAME="POSIX"
| LC_ADDRESS="POSIX"
| LC_TELEPHONE="POSIX"
| LC_MEASUREMENT="POSIX"
| LC_IDENTIFICATION="POSIX"
| LC_ALL=
`----

> $ locale -a

,----
| % locale -a
| locale: Cannot set LC_CTYPE to default locale: No such file or directory
| C
| POSIX
| fr_FR
| fr_FR.iso88591
| fr_FR.iso885915@euro
| fr_FR.utf8
| fr_FR.utf8@euro
| fr_FR@euro
| fran�ais
| french
`----

<snip>

> Donc ça fonctionne sous X.

Tout dépend du programme.

> Il faut comprendre pourquoi fr_FR.UTF-8 n'est pas générée et/ou
> sélectionnée dans l'environnement utilisateur.

Ben justement :)

Cdt,

P.S: désolé pour les longues lignes
-- 
Xavier MAILLARD (GnuPG: 1024D/1E028EA5)
EmacsOS user (http://emacsfr.org)
APRIL (http://www.april.org)

Attachment: pgpb_iKgFlMFb.pgp
Description: PGP signature


Reply to: