Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Fat32 vs Accents
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
Gyscos
n00b
n00b


Joined: 01 Aug 2007
Posts: 73

PostPosted: Thu Dec 10, 2009 11:00 am    Post subject: [SOLVED] Fat32 vs Accents Reply with quote

Hello there !
I've got a Fat32 partition with lot of music on it, that was put there from windows.
And, of course, like any non-english people, I'm using dangerous amounts of accents in file names...

But now I'm using gentoo and I'd like to access this stuff...

A little more information :
I'm using utf8 locale.
I can create new files/folders with accents in it.
I can't edit old files with accents.
(I guess new files use utf8, wich is good, while old files use windows1258, wich is bad...)

I tried the iocharset=utf8 or just utf8 flags in fstab, with no noticeable change.

A hexdump tells me it is using 0xe9 to store "é", wich confirms the use of windows1258 encoding...

I googled and all but I can't seem to find an answer - everyone succeeded with the iocharset=utf8, yet it doesn't work for me :(

Any idea what I might do ?
Thanks ! ;)

EDIT : interesting thing I just discovered : I've got a running ftp server, and some files from the fat partitions are shared through it. When I go to ftp://localhost with firefox, I can see the accents, it works perfectly.
But when I connect to the server with filezilla, the files simply don't appear...

SOLUTION : enable in kernel filesystems/native language/windows cp 1250


Last edited by Gyscos on Thu Dec 10, 2009 12:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Thu Dec 10, 2009 11:24 am    Post subject: Reply with quote

I've mdae good experiences with app-text/convmv-1.10
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Dec 10, 2009 11:28 am    Post subject: Reply with quote

Well, at first, you should have a look into your kernel configuration.
Filesystem section / Native language support subsection.
There, you should check wether CP1250 is activated or not.
If it is not, you should activate the support for this codepage.
From what you say, I think that your fat is a FAT32 and I think that windows used this codepage for filenames.
While you are there, you can activate NLS-ISO8859-1 and NLS-ISO8859-15
I do not think these two last will help you in your "problème présent" however, you might need them on day.
Then go to the :
DOS-FAT-NT Filesystems section
And check the Default isocharset for FAT.
In your specific case, Iso8859-1 or 15 are good solutions
Back to top
View user's profile Send private message
Gyscos
n00b
n00b


Joined: 01 Aug 2007
Posts: 73

PostPosted: Thu Dec 10, 2009 11:43 am    Post subject: Reply with quote

xD
Thanks, the trick was the File systems/native language/windows cp1250...

Recompiling now... hope it works ! :)

EDIT : yeah, worked :D
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