View previous topic :: View next topic |
Author |
Message |
Gyscos n00b
Joined: 01 Aug 2007 Posts: 73
|
Posted: Thu Dec 10, 2009 11:00 am Post subject: [SOLVED] Fat32 vs Accents |
|
|
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 |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
Posted: Thu Dec 10, 2009 11:24 am Post subject: |
|
|
I've mdae good experiences with app-text/convmv-1.10 |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu Dec 10, 2009 11:28 am Post subject: |
|
|
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 |
|
|
Gyscos n00b
Joined: 01 Aug 2007 Posts: 73
|
Posted: Thu Dec 10, 2009 11:43 am Post subject: |
|
|
xD
Thanks, the trick was the File systems/native language/windows cp1250...
Recompiling now... hope it works !
EDIT : yeah, worked |
|
Back to top |
|
|
|
|
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
|
|