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

locales [was: Re: emacs fonts/locale error]



Andy Hurt wrote:

Sorry for the solitary reply, Emma . . . .

Emma Jane Hogbin wrote:

(I'm ruthlessly snipping here)

From what I can tell, the default system environment is set in /etc/environment (LANG=C, etc.).

yes the default is C, not en_US as was mentioned earlier....

So I changed the system environment back to C. As root, '# locale' gives me all "=C", but, for my basic user account, '$ locale' still gives me "LC_*=en_US.UTF-8".

Ah, I suddenly feel 6mm tall: being the forgetful, moderately-used edge I am, I neglect to maintain the awareness of my always using UXterm ;-/ Post-enlightenment has revealed the source of my LC_*=en_US.UTF-8 output--XTerm gives me what I expect to see.


What version you using? If you're in unstable dpkg reconfigure locales
won't do it. You have to also do this:

[steps_to_completion]:
http://xtrinsic.com/geek/articles/language.phtml
(which is about installing multilingual search engines)

I followed the steps as described, and I was able to create my locales in /usr/lib/locale Thank you--this is what I would have expected to have seen 'Pre-steps_to_completion', since there are the desired sub-folders in my Woody:/usr/lib/locale ;-)

Pre-steps_to_completion:

$ locale -a
C
POSIX

Post-steps_to_completion:

$ locale -a
C
en_US
en_US.ISO-8859-15
en_US.UTF-8
POSIX

I have activated my account with the 'export LANG="C"' and 'export LC_ALL="locale_of_choice"' included in ~/user/.bash_profile' and /root/.bash_profile--using each of the previous locales.

It seems to work :-)

Yet, having LC_ALL="en_US.UTF-8" still produces odd-looking characters at times, such as in '$ man dpkg'. I get no odd-looking characters when using en_US (ISO-8859-1) or en_US.ISO-8859-15 More to learn ;-)

Now, at least, I have a configured-base, and a much better understanding--Thank You Emma.
--
andyrew



Reply to: