Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ingen æøå i konsollen (dansk)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
Tomsen
n00b
n00b


Joined: 26 Feb 2005
Posts: 63
Location: Denmark

PostPosted: Thu May 17, 2007 6:22 pm    Post subject: Ingen æøå i konsollen (dansk) Reply with quote

Jeg har nogen problemer med min server, først og fremmest at den ikke kan vise æ ø og å i min konsol. :( Når jeg åbner mappen via samba shares, fra min stationær, gentoo, så viser den det korret i min kde og fra windows maskiner er det også korret med æ ø og å. Men på selve serveren bliver det til:
Code:

vestergaard tomas # ls
ø  Ã¥  æ

Dette viser æ ø å mapper oprettet fra min stationær.

Mine locales ser sådan ud:
Code:

vestergaard tomas # locale
LANG=da_DK
LC_CTYPE="da_DK"
LC_NUMERIC="da_DK"
LC_TIME="da_DK"
LC_COLLATE="da_DK"
LC_MONETARY="da_DK"
LC_MESSAGES="da_DK"
LC_PAPER="da_DK"
LC_NAME="da_DK"
LC_ADDRESS="da_DK"
LC_TELEPHONE="da_DK"
LC_MEASUREMENT="da_DK"
LC_IDENTIFICATION="da_DK"
LC_ALL=da_DK


og /etc/conf.d/consolefont
Code:

# /etc/conf.d/consolefont

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console.  You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

#CONSOLEFONT="default8x16"
CONSOLEFONT="lat0-16"

# CONSOLETRANSLATION is the charset map file to use.  Leave commented to use
# the default one.  Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

#CONSOLETRANSLATION="8859-1_to_uni"


/etc/locale.gen
Code:

da_DK.UTF-8 UTF-8
da_DK ISO-8859-1

Er der noget jeg mangler at sætte eller har sat forkert?
_________________
Don't ever argue with an idiot, he will bring you down to his level and beat you with exprience
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4981
Location: Gothenburg, Sweden

PostPosted: Thu May 17, 2007 8:51 pm    Post subject: Re: Ingen æøå i konsollen (dansk) Reply with quote

Tomsen wrote:
Jeg har nogen problemer med min server, først og fremmest at den ikke kan vise æ ø og å i min konsol. :( Når jeg åbner mappen via samba shares, fra min stationær, gentoo, så viser den det korret i min kde og fra windows maskiner er det også korret med æ ø og å. Men på selve serveren bliver det til:
Code:

vestergaard tomas # ls
ø  Ã¥  æ

Dette viser æ ø å mapper oprettet fra min stationær.

Så ser det ut när UTF-8 tolkas som ISO-8859-1.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Tomsen
n00b
n00b


Joined: 26 Feb 2005
Posts: 63
Location: Denmark

PostPosted: Sun May 20, 2007 12:17 pm    Post subject: Reply with quote

Har lige været væk et stykke tid så har ikke fået kigget på dit svar. Men nu har jeg udkommenteret da_DK ISO-8859-1 i min locale.gen fil og kørt locale-gen, nu ser alle æ ø og å ud som spørgsmåls tegn:
Code:

??rnen


Her står Ørnen
_________________
Don't ever argue with an idiot, he will bring you down to his level and beat you with exprience
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4981
Location: Gothenburg, Sweden

PostPosted: Sun May 20, 2007 6:25 pm    Post subject: Reply with quote

Om du kör locale nu märker du att du inte har da_DK.UTF-8 utan förmodligen C eller POSIX eller kanske ANSI X3.4-1986. Du måste ändra i /etc/profile eller /etc/conf.d/02locale också (eller något annat lämpligt ställe).
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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