Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terminal Encoding...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Apopatos
Guru
Guru


Joined: 17 Oct 2004
Posts: 512
Location: Hellas

PostPosted: Sat Jul 09, 2005 9:25 pm    Post subject: Terminal Encoding... Reply with quote

Hi
During boot my system says "terminal encoding to UTF8"
How can I change that to ISO-8859-1 for example?
Back to top
View user's profile Send private message
wudmx
Guru
Guru


Joined: 07 Aug 2002
Posts: 527

PostPosted: Sat Jul 09, 2005 10:01 pm    Post subject: Reply with quote

did you set the UNICODE variable in /etc/rc.conf to yes? then change it to no!

you can change the character encoding in /etc/env.d/02locales. type in your desired value!
Back to top
View user's profile Send private message
Apopatos
Guru
Guru


Joined: 17 Oct 2004
Posts: 512
Location: Hellas

PostPosted: Sat Jul 09, 2005 10:21 pm    Post subject: Reply with quote

Hmm I have not such a file. So I'm creating a
Code:
02locales
write inside
Code:
ISO-8859-7 or iso-8859-7
and then
Code:
 source /etc/profile
?
Back to top
View user's profile Send private message
wudmx
Guru
Guru


Joined: 07 Aug 2002
Posts: 527

PostPosted: Sun Jul 10, 2005 8:33 am    Post subject: Reply with quote

Apopatos wrote:
Hmm I have not such a file. So I'm creating a
Code:
02locales
write inside
Code:
ISO-8859-7 or iso-8859-7
and then
Code:
 source /etc/profile
?

it's not 100% correct.

you want to use ISO-8859-7. ok, then you have to ensure, that this character encoding is included in your kernel. check that!

after that run locale -a:
is there any locale listed with your desired charmap? e.g.:
de_DE.ISO-8859-7

if everything is okay, then write the following in your /etc/env.d/02locales:

LANG="de_DE.ISO-8859-7"
LC_ALL="de_DE.ISO-8859-7"

to load the values, run env-update!

hope this helps!
wudmx
Back to top
View user's profile Send private message
Apopatos
Guru
Guru


Joined: 17 Oct 2004
Posts: 512
Location: Hellas

PostPosted: Sun Jul 10, 2005 5:05 pm    Post subject: Reply with quote

It helps, thanks very much wudmx :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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