Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
åäö i filsystem
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
Sassur
n00b
n00b


Joined: 04 Jul 2002
Posts: 25
Location: Hägersten/Stockholm/Sweden

PostPosted: Thu Oct 31, 2002 3:15 am    Post subject: åäö i filsystem Reply with quote

när jag ls:ar etc en katalog eller en fil med åäö i så blir dessa tecken ?, men om jag tabbar fram filnamnet eller katalogen så syns åäö i listan på möjliga filer. Problemet finns både ext3, fat och ntfs. åäö funkar i övrigt utan problem.

Har någon en lösning på problemet är jag mycket tacksam.
_________________
Fredrik
Back to top
View user's profile Send private message
tukem
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2002
Posts: 114
Location: Tampere, Finland

PostPosted: Thu Oct 31, 2002 7:31 am    Post subject: Reply with quote

I hope you don't mind if I answer in english. I don't want to torture anyone with my bad swedish.

Change your locale settings to something other than posix. You can get a listing of your current settings with a command "locale". Variables starting with LC set specific setting like what kind of number format, or what kind of characters is used. If you want to change all the settings to to something you can just change LANG that is the default if the variable isn't set. A list of possible locales can be found from /usr/lib/locale. As an example in my case I would say "export LANG=fi_FI" or "export LANG=fi_FI@euro".
Back to top
View user's profile Send private message
Sassur
n00b
n00b


Joined: 04 Jul 2002
Posts: 25
Location: Hägersten/Stockholm/Sweden

PostPosted: Thu Oct 31, 2002 11:50 am    Post subject: Reply with quote

Thanks. That worked.

Jag läste inlägget om svenska tecken i konsolen i detta forum innan
och där stod det att man skulle sätta LANG i /etc/rc.conf vilket jag gjort men det funkade ju inte.
_________________
Fredrik
Back to top
View user's profile Send private message
Sassur
n00b
n00b


Joined: 04 Jul 2002
Posts: 25
Location: Hägersten/Stockholm/Sweden

PostPosted: Thu Oct 31, 2002 12:08 pm    Post subject: Reply with quote

När man sätter LANG till se_SV så blir även felmedelanden etc också på svenska vilket jag inte vill ha, hur kommer man runt detta.

Jag löste det. Man sätter LANG till typ en_US så får man åäö och engelska felmedelanden.
_________________
Fredrik
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