Maybe there are persons out there who got into more or less trouble while using UTF-8 and want to fall back into old 'bad' behaviours like mine.
Because of historical things I still got stuck with ISO-8859_1 under Hoary. One of the disadvantages while connecting from hoary box via xterm/ssh into the 'new' headless Dapper machine had been quite ugly signs when working for example with mc. This results comming from UTF-8 locales settings on dapper box.
Under Hoary I did switch away from UTF-8 back to ISO-8859_1 simply using
Code:
# dpkg-reconfigure locales
And disabled in following dialogs UTF-8 reenabling ISO.
I tried this with my headless dapper installation, too. But it did not work. None of the dialogs appeared. So I needed a workaround.
Within Dapper do edit environment to:
Code:
# nano /etc/environment
LANGUAGE="de_DE:de"
LANG=de_DE
((please take your language locales instead of mine))
and copied over additionally /etc/locale.alias and locale.gen
from my old Hoary box:
Code:
/etc/locale.alias ((content without header))
bokmal no_NO.ISO-8859-1
bokmål no_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
norwegian no_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.KOI8-R
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
Code:
/etc/locale.gen
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
de_AT.UTF-8 UTF-8
de_BE.UTF-8 UTF-8
de_CH.UTF-8 UTF-8
de_LU.UTF-8 UTF-8
en_AU.UTF-8 UTF-8
en_BW.UTF-8 UTF-8
en_CA.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
en_HK.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
en_IN UTF-8
en_NZ.UTF-8 UTF-8
en_PH.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_ZA.UTF-8 UTF-8
en_ZW.UTF-8 UTF-8
de_DE ISO-8859-1
((same like above: Please alter /etc/locale.gen settings to your needs))
Important note: You need to do upper steps FIRST!!
If you are finished, do install missing locales:
Code:
# apt-get install locales
During installation there will come up a message, that package contributor found having different locales settings. Skript suggests to overwrite modified/current settings. But: Do NOT overwrite settings. Instead: Keep things as shown.
After finishing reboot and all should be as expected.
Hope this helps some folks until reconfigure works with dapper in CLI mode
rob*/