Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] проблемы с утф8
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Fri Apr 24, 2009 9:22 am    Post subject: [solved] проблемы с утф8 Reply with quote

Делаю все как обычно по: http://www.gentoo.org/doc/en/guide-localization.xml и http://www.gentoo.org/doc/en/utf-8.xml
В итоге у меня в консоли все сообщения сыпятся квадратиками.

Вот мои конфиги, может кто подскажет чего не так, а то я уже ума не приложу:
Code:
USE="unicode utf8"

Code:
elvenhome ~ # cat /etc/env.d/02locale
LC_ALL=""
LANG="ru_RU.UTF-8"

Code:
elvenhome ~ # locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

Code:
elvenhome ~ # locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
ru_RU
ru_RU.cp1251
ru_RU.cp866
ru_RU.ibm866
ru_RU.koi8
ru_RU.koi8r
ru_RU.utf8
uk_UA
uk_UA.cp1251
uk_UA.cp866
uk_UA.ibm866
uk_UA.koi8
uk_UA.koi8u
uk_UA.utf8

Code:
elvenhome ~ # egrep -v "^$|^#" /etc/conf.d/consolefont
consolefont="ter-u14b"
consoletranslation="koi8-u_to_uni"

Code:
elvenhome ~ # egrep -v "^$|^#" /etc/conf.d/keymaps     
keymap="ru-ms"
windowkeys="YES"
extended_keymaps=""
dumpkeys_charset="koi8-r"
fix_euro="NO"

Code:
elvenhome ~ # egrep -v "^$|^#" /etc/rc.conf | grep unicode
unicode="yes"

_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.


Last edited by serg_sk on Thu Apr 30, 2009 11:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
axce1
n00b
n00b


Joined: 13 Mar 2009
Posts: 12

PostPosted: Sat Apr 25, 2009 1:26 pm    Post subject: Reply with quote

Посмотрел по своим конфигам отличается только в /etc/env.d/02locale у меня в нем

Code:

cat /etc/env.d/02locale
LC_ALL=""
LANG="ru_RU.UTF-8"
LC_NUMERIC="POSIX"


Может быть POSIX не хватает...
Back to top
View user's profile Send private message
ArtSh
Apprentice
Apprentice


Joined: 05 Aug 2006
Posts: 178
Location: Казань, Россия

PostPosted: Sat Apr 25, 2009 7:40 pm    Post subject: Reply with quote

А по-моему, проблема где-то тут:

Code:

consolefont="ter-u14b"
consoletranslation="koi8-u_to_uni"
unicode="yes"


шрифт видимо уже юникодный...
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Tue Apr 28, 2009 5:54 pm    Post subject: Reply with quote

Терминус вроде юникодный :)
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Loryk
n00b
n00b


Joined: 16 Apr 2007
Posts: 37
Location: Ukraine

PostPosted: Wed Apr 29, 2009 11:14 pm    Post subject: Reply with quote

У тебя проблемы сразу или при переключении с иксов в консоль?
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Thu Apr 30, 2009 11:06 am    Post subject: Reply with quote

Лень сюда еще переписывать, потому вот: http://wiseelf.org.ua/?p=39
Так я пофиксил утф в консоли.
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum