You are not logged in.
Hi there,
I tried switching to a different locale on my system (de_DE), but somehow I seem to have overlooked some settings. Problem is, I cannot even use the man-pages as I get the following error when e.g. calling "man mount"
<error>
[bauerber@home ~]$ man mount
invalid charset name
Cannot open the message catalog "man" for locale "de_DE.utf8"
(NLSPATH="<none>")
Error executing formatting or display command.
System command (cd /usr/man && (echo ".pl 1100i"; /bin/gunzip -c
'/usr/man/man8/mount.8.gz'; echo ".\""; echo ".pl n(nlu+10")
| /usr/bin/gtbl | /usr/bin/nroff -Tlatin1 -mandoc | /bin/less -is) exited
with status 256.
No manual entry for mount
</error>
I retrieved the locale with locale -a and decided to use de_DE.utf8 for full umlaut-support.
rc.conf looks like this
[snip]
HARDWARECLOCK="UTC"
TIMEZONE=Europe/Berlin
KEYMAP=de-latin1-nodeadkeys.map.gz
CONSOLEFONT=lat0-12.psfu.gz
USECOLOR="yes"
[/snip]
and my profile like this:
[snip]
# Locale settings (find your locale with 'locale -a')
export LANG="de_DE.utf8"
export LC_COLLATE="C"
[/snip]
I gathered from other postings that LANGUAGE,LOCALE,XLOCALE should also be set (I guess also to 'de_DE.utf8'??).
But will that solve the above mentioned problem with the man pages? The error does not mention any problem with the locale itself, but with the charset. I also tried setting LANG to de_DE.iso885915, de_DE.iso88591 and de_DE@euro. all produced the same error message when calling a man page.
So. Where am I going wrong?
Thanks in advance
Bernhard
Offline
here is mine ~/.bashrc
alias ls='ls --color=auto'
PS1='[u@h W]€ '
export BROWSER='firefox'
export LC_CTYPE='sv_SE.UTF-8'
export LANG='en_GB'
you should try to set LC_CTYPE to utf8
arch + gentoo + initng + python = enlisy
Offline
thanks for your suggestion.
i'll try this weekend, hope it helps
Offline
Hi xerxes,
tried setting the LC_CTYPE, didn't change anything
here is mine ~/.bashrc
alias ls='ls --color=auto' PS1='[u@h W]€ ' export BROWSER='firefox' export LC_CTYPE='sv_SE.UTF-8' export LANG='en_GB'
you should try to set LC_CTYPE to utf8
Could you post all relevant settings from profile, rc.conf a.s.o that are concerned with language settings?
Maybe the problem is my german setting in correlation with the man pages?
<error>
Cannot open the message catalog "man" for locale "de_DE.utf8"
</error>
Maybe the utf8 part needs to be written UTF-8?
Hope sombody can give me some more pointers...
Meanwhile I'll try some of the permutations on utf8
@xerxes: Thanks nevertheless!
greez
Bernhard
Offline
i don't know what it could be,
LC_CTYPE = de_DE.utf8 , works for me,
try and set it in /etc/profile also,
I'm using urxvt terminal, could be worth a try,
arch + gentoo + initng + python = enlisy
Offline
Hi xerxes,
don't know why, but obviously the LESSCHARSET setting was wrong. After I set it to latin1 instead of latin0 (default setting), the manpages are working again.
Everything else is set to de_DE.utf8. I hope I haven't wrecked anything else in the process of trying out those settings
Greez
Bernhard
Offline