Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't change to utf-8 locale anymore.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Säck
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 141
Location: Switzerland

PostPosted: Tue Nov 02, 2004 9:18 pm    Post subject: can't change to utf-8 locale anymore. Reply with quote

Hi

I have a very strange problem. Normally I use the iso-8859-1 locale but I write all my homepages in utf-8 encoding.
All i did until now was
Code:
export LANG="de_CH.utf-8"

Or UTF-8/utf8 I can't really remeber. But when I started gvim after that, I could write easily in utf-8.

But starngly this doesen't seem to work anymore. When I do the changes in a console and then start gvim it still uses iso-8859-1 as charset and also kate doesn't seem to be able to edit utf-8 encoded files??
could this be a problem that i have updatet xorg 6.8.0 ?

I don't know where to search for the error, I've also read many infos about the charset here in the forum, but i don't seem to advance.

Thanks
_________________
Remember: Gentoo Rocks
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Thu Nov 04, 2004 2:29 pm    Post subject: Reply with quote

try:
Code:
LANG="de_CH.utf-8" gvim
Back to top
View user's profile Send private message
barry
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 170
Location: UK

PostPosted: Thu Nov 04, 2004 2:52 pm    Post subject: Reply with quote

Do

Code:
locale -a | grep de_CH


You should see something like:

Code:
de_CH
de_CH.iso88591
de_CH.utf8


Have you recently emerged glibc?
Back to top
View user's profile Send private message
Säck
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 141
Location: Switzerland

PostPosted: Sun Nov 07, 2004 10:32 pm    Post subject: Reply with quote

Hi

I had also the idea that it's a problem with glibc since i upgraded it to the unstable branch. on wiki-gentoo i read the howto to install gcc-3.4 and there it was noted that i had to update it.

So my super idea was to downgrade glibc .... compilation error, and my whole system crashed right after the error..couldn't boot the computer anymore and couldn't even chroot inot the gentoo installation from the live-cd anymore.

...So that's the reason why I didn't write back anymore ... Now I'm kind of uncertain what to do...I had to use the ordi, so I tried once freebsd (i'm wirting this on freebsd right now). But i still have place left and i'm not sure wheter to install gentoo again on my notbook...compilation time. But the biggest problem of that decission is, that emerge is SO great (if you use it with precaution and don't use unstable packages :-)
Maybe debian sid .... i'm not sure yet.

so long and thanks for the help...but i guess it was really the problem of glibc
_________________
Remember: Gentoo Rocks
Back to top
View user's profile Send private message
Säck
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 141
Location: Switzerland

PostPosted: Tue Nov 09, 2004 7:58 pm    Post subject: Reply with quote

I had a look at debian. I really like apt-get, but still, I decided to rest with gentoo. I just prefer gentoo over debian (maybe because I know it better)
_________________
Remember: Gentoo Rocks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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