I have a LAMP server, originally installed as knoppix 3.6 but
apt-getted to debian sarge.
My problem is that a lot of system output on the command line is
unreadable. For example, as root, I enter 'adduser'.
The next line reads: '??????? ??'? ???????????:'
I also get this question-mark substitution in vim for its prompts, and in
things that use ncurses libraries. It's also present in tcsh, and screen.
I've tried finding out where the relevant setting is changed, but having
some difficulty.
Where else am I missing this locale setting?
=====
Some output and settings that may help troubleshoot:
root at linux-test:~# env
TERM=screen
SHELL=/bin/bash
SSH_CLIENT=193.1.99.74 35330 22
SSH_TTY=/dev/pts/3
USER=root
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games
PWD=/root
LANG=en_GB
SHLVL=1
HOME=/root
LANGUAGE=uk
LOGNAME=root
SSH_CONNECTION=193.1.99.74 35330 10.0.0.2 22
_=/usr/bin/env
=====
/etc/environment:
LANG=en_IE at euro
=====
/etc/bashrc:
#/etc/bashrc
umask 022
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde2/bin:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/usr/local/bin:."
export PATH
# LOCALE
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n && [ -n "$LANG" ] &&
export LANG
[ -n "$TTY" ] && PS1="\[ESC[1;34m\]knoppix@$TTY[\W]#\[ESC[0;39m\] " ||
PS1="\[ESC[1;34m\][\W]#\[ESC[0;39m\] "
alias which="type -path"
alias ll="ls -l --color=auto"
alias la="ls -la --color=auto"
alias ls="ls --color=auto"
--
Cathal Ferris +353 87 6438725
pio at csn.ul.iehttp://www.swibble.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!