#1 Le 18/02/2009, à 01:20
- Kalyptus
Mes locales ne veulent pas se mettre en ISO-8859-1 (ou 15) !!
Bonsoir les amis hihihi.
J'ai un problème.
J'essaie désespérément depuis maintenant un bon moment de passer mon Ubuntu Server 8.04.1 en ISO-8859-1 (ou 15), mais il reste en UTF-8, ce qui fait hurler mes correspondants sur IRC qui voient des bouillies à la place de mes accents (que je vois bien, moi.)
Voici mes infos :
Contenu de /etc/environment :
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANGUAGE="fr_FR:fr"
LANG="fr_FR"
Contenu de /etc/locale.alias :
# Locale name alias data base.
# Copyright (C) 1996-2001,2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.# The format of this file is the same as for the corresponding file of
# the X Window System, which normally can be found in
# /usr/lib/X11/locale/locale.alias
# A single line contains two fields: an alias and a substitution value.
# All entries are case independent.# Note: This file is far from being complete. If you have a value for
# your own site which you think might be useful for others too, share
# it with the rest of us. Send it using the `glibcbug' script to
# bugs@gnu.org.bokmal nb_NO.ISO-8859-1
bokmål nb_NO.ISO-8859-1
catalan ca_ES.ISO-8859-1
croatian hr_HR.ISO-8859-2
czech cs_CZ.ISO-8859-2
danish da_DK.ISO-8859-1
dansk da_DK.ISO-8859-1
deutsch de_DE.ISO-8859-1
dutch nl_NL.ISO-8859-1
eesti et_EE.ISO-8859-1
estonian et_EE.ISO-8859-1
finnish fi_FI.ISO-8859-1
français fr_FR.ISO-8859-1
french fr_FR.ISO-8859-1
galego gl_ES.ISO-8859-1
galician gl_ES.ISO-8859-1
german de_DE.ISO-8859-1
greek el_GR.ISO-8859-7
hebrew he_IL.ISO-8859-8
hrvatski hr_HR.ISO-8859-2
hungarian hu_HU.ISO-8859-2
icelandic is_IS.ISO-8859-1
italian it_IT.ISO-8859-1
japanese ja_JP.eucJP
japanese.euc ja_JP.eucJP
ja_JP ja_JP.eucJP
ja_JP.ujis ja_JP.eucJP
japanese.sjis ja_JP.SJIS
korean ko_KR.eucKR
korean.euc ko_KR.eucKR
ko_KR ko_KR.eucKR
lithuanian lt_LT.ISO-8859-13
no_NO nb_NO.ISO-8859-1
no_NO.ISO-8859-1 nb_NO.ISO-8859-1
norwegian nb_NO.ISO-8859-1
nynorsk nn_NO.ISO-8859-1
polish pl_PL.ISO-8859-2
portuguese pt_PT.ISO-8859-1
romanian ro_RO.ISO-8859-2
russian ru_RU.ISO-8859-5
slovak sk_SK.ISO-8859-2
slovene sl_SI.ISO-8859-2
slovenian sl_SI.ISO-8859-2
spanish es_ES.ISO-8859-1
swedish sv_SE.ISO-8859-1
thai th_TH.TIS-620
turkish tr_TR.ISO-8859-9
Quand je fais dpkg-reconfigure locales :
root@r12216:/etc# dpkg-reconfigure locales
Generating locales...
de_AT.UTF-8... up-to-date
de_BE.UTF-8... up-to-date
de_CH.UTF-8... up-to-date
de_DE.UTF-8... up-to-date
de_LU.UTF-8... up-to-date
en_US.UTF-8... up-to-date
es_AR.UTF-8... up-to-date
es_BO.UTF-8... up-to-date
es_CL.UTF-8... up-to-date
es_CO.UTF-8... up-to-date
es_CR.UTF-8... up-to-date
es_DO.UTF-8... up-to-date
es_EC.UTF-8... up-to-date
es_ES.UTF-8... up-to-date
es_GT.UTF-8... up-to-date
es_HN.UTF-8... up-to-date
es_MX.UTF-8... up-to-date
es_NI.UTF-8... up-to-date
es_PA.UTF-8... up-to-date
es_PE.UTF-8... up-to-date
es_PR.UTF-8... up-to-date
es_PY.UTF-8... up-to-date
es_SV.UTF-8... up-to-date
es_US.UTF-8... up-to-date
es_UY.UTF-8... up-to-date
es_VE.UTF-8... up-to-date
fr_BE.UTF-8... up-to-date
fr_CA.UTF-8... up-to-date
fr_CH.UTF-8... up-to-date
fr_FR.ISO-8859-15@euro... up-to-date
fr_FR.ISO-8859-1... up-to-date
fr_FR.UTF-8... up-to-date
fr_LU.UTF-8... up-to-date
it_CH.UTF-8... up-to-date
it_IT.UTF-8... up-to-date
nl_BE.UTF-8... up-to-date
nl_NL.UTF-8... up-to-date
pl_PL.UTF-8... up-to-date
Generation complete.
J'ai beau rebooter et rebooter encore, quand je fais...
locale :
root@r12216:/etc# locale
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:fr
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
Bref j'implore votre aide. Merci, a+
#2 Le 18/02/2009, à 01:50
- Hyogapag

Re : Mes locales ne veulent pas se mettre en ISO-8859-1 (ou 15) !!
Je pense qu'il te suffit d'adapter ce tutoriel à ton cas. dpkg-reconfigure locales ne semble être que la première étape !
Hors ligne
#3 Le 18/02/2009, à 01:58
- Kalyptus
Re : Mes locales ne veulent pas se mettre en ISO-8859-1 (ou 15) !!
Merci de ta réponse.
Les locale se mettent bien en ISO-8859-1 quand je tape export LANG=fr_FR.ISO-8859-1, seul problème : ça s'en va dès que je quitte la session (que je ferme Putty quoi.)
Je veux pas le refaire à chaque démarrage ![]()
A+
#4 Le 18/02/2009, à 02:02
- Kalyptus
Re : Mes locales ne veulent pas se mettre en ISO-8859-1 (ou 15) !!
C'est bon, j'ai mis la ligne dans mon .bash_profile :\
A+