Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-cs
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-cs@g.o
From: Pavel Dobes <gentoo@...>
Subject: prechod na UTF-8
Date: Mon, 8 Oct 2007 16:34:10 +0200
Zdravim,

kdyz jsem preinstalovaval system, tak jsem si rikla, ze bych mohl rovnoou prejit na utf8.

Tak nejak mi to vsecho funguje, ale stale jsem si jeste nechal locale i pro iso-8859-2

Pripojuji se vsak na nejkoli serveru, ktere bezi v latin2. Mylsel jsem, ze kdyz spustim terminal s nastavenim fontu na iso a zmenim locale na iso, ze to bude fungovat, ale nefunguje.

V /etc/locale.gen mam

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

Kdyz spustim v xtermu cal, tak to funguje:

$ cal
     říjen 2007     
Po Út St Čt Pá So Ne
 1  2  3  4  5  6  7
 8  9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

$ locale
LANG=cs_CZ.UTF-8
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE=C
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=

Kdyz spustim xterm s iso fontama 

$xterm -fb '-misc-fixed-bold-r-normal--12-120-75-75-c-0-iso8859-2' -fn '-misc-fixed-medium-r-normal--12-120-75-75-c-0-iso8859-2' -sb 

a v nem cal, tak

$ cal
      íjen 2007     
Po Út St  t Pá So Ne
 1  2  3  4  5  6  7
 8  9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Nezobrazuji se znaky, ale jde to (pri prekopirovani se znaky zase objevi). Locale je stale cs_CZ.UTF-8. Kdyz to zmenim na cs_CZ, cimz bych imho mel dostat vystupy v iso latin 2 a vse by melo fungovat, tak:

$ export LANG="cs_CZ"
$ locale
LANG=cs_CZ
LC_CTYPE="cs_CZ"
LC_NUMERIC="cs_CZ"
LC_TIME="cs_CZ"
LC_COLLATE=C
LC_MONETARY="cs_CZ"
LC_MESSAGES="cs_CZ"
LC_PAPER="cs_CZ"
LC_NAME="cs_CZ"
LC_ADDRESS="cs_CZ"
LC_TELEPHONE="cs_CZ"
LC_MEASUREMENT="cs_CZ"
LC_IDENTIFICATION="cs_CZ"
LC_ALL=

Ale cal nezobrazuje :-(
$ cal
      jen 2007     
Po   St   P So Ne
 1  2  3  4  5  6  7
 8  9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

a chybejici znaky jsou nahrazeny pri kopirovani nejakyma otaznikama, pricemz se to snazi reprezentovat jako jeden znak 2bajty.

     �jen 2007     
Po � St � P�So Ne

Kde je chyba? Je to chyba logicka? Takto prehazovat kodovani nejde a
nebo jak to s tim kodovanim je? Jak se mam pripojovat, abych mohl normalne pracovat v prostredi iso latin 2.

PaD
--
gentoo-user-cs@g.o mailing list


Replies:
Re: prechod na UTF-8
-- Miroslav Puda
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
X11: indikace zapnuteho caps lock etc.
Next by thread:
Re: prechod na UTF-8
Previous by date:
Re: stav xkeyboard-config
Next by date:
Re: prechod na UTF-8


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-cs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.