Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
utf8 och åäö [SOLVED]
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
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Fri Apr 29, 2005 11:33 am    Post subject: utf8 och åäö [SOLVED] Reply with quote

Är det någon som vet hur jag ska göra för att konvertera alla filer till utf8 utan att åäö ser ut så här ä?

Last edited by wisdom on Sun May 01, 2005 5:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
zeb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 79
Location: Finland

PostPosted: Fri Apr 29, 2005 12:38 pm    Post subject: Reply with quote

Menar du filinnehåll eller filnamn?

Filnamn kan lätt fixas med convmv (emerge convmv) så här:
convmv -r -f iso8859-1 -t utf-8 ~/

Detta kollar alla filer under ~ och visar vad som skulle ändras, lägg sedan till --notest för att utföra ändringarna.

Filinnehåll kan fixas med iconv, men inte automatiskt.
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Fri Apr 29, 2005 12:44 pm    Post subject: Reply with quote

jag menar filnamnet
kör jag convmv -r -f iso8859-1 -t utf-8 ~/
blir det så här
mv "/mnt/ftp/MP3/-=Dia Psalma=- (6 Album)/Dia Psalma - Hundra Kilo Kärlek [1999]" "/mnt/ftp/MP3/-=Dia Psalma=- (6 Album)/Dia Psalma - Hundra Kilo Kärlek
Back to top
View user's profile Send private message
zeb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 79
Location: Finland

PostPosted: Fri Apr 29, 2005 12:57 pm    Post subject: Reply with quote

Det beror på att du inte har rätt inställningar för att använda unicode-filnamn. Om filnamnen visas korrekt nu, varför vill du konvertera dom till utf-8?
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Fri Apr 29, 2005 1:04 pm    Post subject: Reply with quote

Vissa program har problem att använda filerna när dom inte är i utf8 t.ex.quodlibet
Back to top
View user's profile Send private message
zeb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 79
Location: Finland

PostPosted: Fri Apr 29, 2005 1:21 pm    Post subject: Reply with quote

Låter märkligt, är du säker på att det är där felet ligger? Om du är säker på att du vill övergå till att använda utf-8 rekommenderar jag http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8
Back to top
View user's profile Send private message
wisdom
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 101
Location: sweden

PostPosted: Sun May 01, 2005 4:58 pm    Post subject: Reply with quote

zeb wrote:
Låter märkligt, är du säker på att det är där felet ligger? Om du är säker på att du vill övergå till att använda utf-8 rekommenderar jag http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8


Det var den jag använde när jag gick över till utf8.
Alla filer jag skapar nu får åäö rätt men det är när jag ska konvertera filnamnen på dom gamla det blir fel

EDIT: Löste det hade glämt att lägga till -u8 på xterm
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