Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[решено] locale
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
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Wed Sep 17, 2014 11:14 am    Post subject: [решено] locale Reply with quote

Почему не работают локали?
вот что делал
Code:
#locale-gen -c /etc/locale.gen
# cat /etc/locale.gen
en_US.UTF-8
sv_SE.UTF-8
sv_SE.ISO-8859-1
de_AT.UTF-8
de_DE.UTF-8
de_DE.ISO-8859-1
ru_RU.KOI8-R
ru_RU.UTF-8
ru_RU.ISO-8859-5
C
POSIX
# locale -a
C
POSIX
POSIX.ansix341968
de_DE.utf8
en_US.utf8
ru_RU.iso88595
ru_RU.koi8r
ru_RU.utf8
russian

В итоге не все локали в списке локалей присудствуют.
И все вопросиками в iconv и просто системно.
Code:
#tail /etc/profile.env
LC_CTYPE=ru_RU.UTF-8
Back to top
View user's profile Send private message
Pinkbyte
Retired Dev
Retired Dev


Joined: 01 Jun 2012
Posts: 128
Location: Rostov-on-Don, Russia

PostPosted: Thu Sep 18, 2014 6:13 pm    Post subject: Reply with quote

Покажите cat /etc/env.d/02locale

И обратите внимание на то, как задается например русская локаль:
Code:
pinkbyte@phantom ~ $ cat /etc/locale.gen  | grep ru_
ru_RU.UTF-8 UTF-8


UTF-8 повторяется дважды, правильные варианты можно посмотреть в /usr/share/i18n/SUPPORTED
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 267

PostPosted: Sat Sep 20, 2014 10:43 am    Post subject: Reply with quote

да, после правильного файлика locale.gen все получилось.
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