You are not logged in.

#1 2007-09-12 15:57:04

hoppik
Member
From: Czech Republic
Registered: 2007-09-12
Posts: 7
Website

Czech environment in terminal

Hi,

i have problem with setting czech environment.

My configuration:
/etc/rc.conf

LOCALE="cs_CZ.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Prague"
KEYMAP="cz"
CONSOLEFONT="lat2-16.psfu"
CONSOLEMAP=
USECOLOR="yes"

/etc/profile

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="utf-8"
export INPUTRC="/etc/inputrc"
export LESS="-R"

export LANG="cs_CZ.utf8"
export LANGUAGE="cs_CZ.utf8"
export LC_ALL="cs_CZ.utf8"
export LC_COLLATE="cs_CZ.utf8"

#export MANPAGER="enca -c | more" #manualove stanky

export EDITOR="/usr/bin/nano"

/etc/locale.gen - uncoment this lines:

cs_CZ.UTF-8     UTF-8
cs_CZ   ISO-8859-2

then i run command # locale-gen

#locale -a

C
cs_CZ
cs_CZ.iso88592
cs_CZ.utf8
czech
POSIX

#locale

LANG=cs_CZ.utf8
LC_CTYPE="cs_CZ.utf8"
LC_NUMERIC="cs_CZ.utf8"
LC_TIME="cs_CZ.utf8"
LC_COLLATE="cs_CZ.utf8"
LC_MONETARY="cs_CZ.utf8"
LC_MESSAGES="cs_CZ.utf8"
LC_PAPER="cs_CZ.utf8"
LC_NAME="cs_CZ.utf8"
LC_ADDRESS="cs_CZ.utf8"
LC_TELEPHONE="cs_CZ.utf8"
LC_MEASUREMENT="cs_CZ.utf8"
LC_IDENTIFICATION="cs_CZ.utf8"
LC_ALL=cs_CZ.utf8

If i use CONSOLEFONT="lat2-16.psfu" - diacritics in nano menu is correct displayed. And when i typing some text into nano, diacritics is wrong.
If is CONSOLEFONT set to "lat2a-16.psfu" - menu in nano is wrong displayed and when i typing some text into nano, diacritics is displayed correct.

Where is please error. Thank you for my help. And sorry my bad english!

Offline

Board footer

Powered by FluxBB