#1 Le 10/06/2012, à 19:13
- Whispered
Problème avec "fr_FR.UTF-8"
Bonjour j'ai un gros problème depuis que j'ai changé quelque chose dans le bash
Je suis un utilisateur novice, et en regardant un forum qui parlait de réussir à mettre les ^ sur les lettres quelqu'un à repondu par une manip' dans le bash. Je pense que le problème vient de là puisque c'est depuis que j'ai fait cette manipulation qu'il y a des problèmes :
- Les logiciels sont en anglais (avant c'étais en français)
- Vu que mon ubuntu (12) a été installé pour fonctionner en français, certaines manipulation, t^aches (...) sont impossible (la commande doit etre d'ouvrir /whispered/home/download/minecraft.jar (par exemple) alors que vu que ça a été installé en français le dossier s'appelle Téléchargements (en attendant que le problème soit résolu j'ai appelé le dossier download...)
- Les "é" et autres caractères avec accents aigus posent problème dans les commandes, ubuntu essaie d'ouvrir "R??daction_du cahier_des_charges.doc" alors que le fichier s'appelle "Rédaction_du_cahier_des_charges" (du coup en attendant que le problème soit résolu je ne met plus d'accent...)
- Les mises à jour ne doivent pas se faire correctement (il y a marqué qu'il y a un problème avec le UTF-8 au plein milieu)
- J'ai déjà essayé de régler le problème mais ça n'a pas marché :
bash: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
bash: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
whispered@whispered-desktop:~$ sudo dpkg-reconfigure localesperl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr:en",
LC_ALL = "*fr_FR.UTF-8*",
LC_PAPER = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_TIME = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LANG = "fr_FR.UTF-8"
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
Generating locales...
en_AG.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
Merci d'avance pour vos réponses, excuser si la présentation du message est mauvaise c'est mon premier post sur ce forum .
Hors ligne
#2 Le 10/06/2012, à 19:48
- Bousky
Re : Problème avec "fr_FR.UTF-8"
en regardant un forum qui parlait de réussir à mettre les ^ sur les lettres quelqu'un à repondu par une manip' dans le bash
Tu as fait quoi exactement ? On peut avoir un lien vers la manip en question ?
Linux qui plante complètement ? Plus rien ne répond ? On peut toujours le redémarrer proprement :
Alt + SysRq + REISUB (Retourne En Islande Sur Un Bateau !)
Hors ligne
#3 Le 10/06/2012, à 21:16
- Whispered
Re : Problème avec "fr_FR.UTF-8"
Ce qui est écris ici http://forum.ubuntu-fr.org/viewtopic.php?id=355887
J'ai juste remplacé le FR@euro par mon problème c-a-d le UTF-8, peut-^etre est-ce là l'erreur ...
Excuse je me suis trompé au dessus :
whispered@whispered-desktop:~$ sudo locale-gen fr_FR.UTF-8
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
Generating locales...
fr_FR.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
up-to-date
Generation complete.
whispered@whispered-desktop:~$ sudo dpkg-reconfigure localesperl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr:en",
LC_ALL = "*fr_FR.UTF-8*",
LC_PAPER = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_TIME = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LANG = "fr_FR.UTF-8"
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
Generating locales...
en_AG.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_AU.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_BW.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_CA.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_DK.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_GB.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_HK.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_IE.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_IN.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_NG.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_NZ.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_PH.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_SG.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_US.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_ZA.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_ZM.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
en_ZW.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
fr_BE.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
fr_CA.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
fr_CH.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
fr_FR.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
up-to-date
fr_LU.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (*fr_FR.UTF-8*)
done
Generation complete.
Hors ligne
#4 Le 10/06/2012, à 22:01
- Bousky
Re : Problème avec "fr_FR.UTF-8"
J'ai l'impression que le problème vient de « LC_ALL = "*fr_FR.UTF-8*" » (les « * » me paraissent étranges). Essaie ça (bien que je n'en soit pas totalement sûr) :
sudo -i
export LC_ALL=fr_FR.UTF-8
locale-gen fr_FR.UTF-8
dpkg-reconfigure locales
exit
ou
sudo -i
export LC_ALL=
locale-gen fr_FR.UTF-8
dpkg-reconfigure locales
exit
Dernière modification par Bousky (Le 10/06/2012, à 22:02)
Linux qui plante complètement ? Plus rien ne répond ? On peut toujours le redémarrer proprement :
Alt + SysRq + REISUB (Retourne En Islande Sur Un Bateau !)
Hors ligne
#5 Le 12/06/2012, à 21:22
- Whispered
Re : Problème avec "fr_FR.UTF-8"
J'ai essayé la première solution mais je ne sais pas si ça a changé grand chose ...
Mais la manip' sembla avoir été faite correctement.
Hors ligne