Bug 101987 - Some letters on Windows drives are wrong
Some letters on Windows drives are wrong
Product: Red Hat Linux Beta
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-08-08 12:40 EDT by Henrik Lind
Modified: 2015-01-04 17:02 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-25 21:37:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Henrik Lind 2003-08-08 12:40:11 EDT
Description of problem:

Some letters on Windows drives are wrong.

I made a file in WinXP called 'TEST æøå ÆØÅ üöä ÜÖÄ é.txt' and in Linux the
files comes out like 'TEST ??? ??? ??? ??? ?.txt'

I'm writing this from the same linux box and as you can see, the letters works well.

Steps to Reproduce:
1. In Windows make a file called 'TEST æøå ÆØÅ üöä ÜÖÄ é.txt' on a FAT32 drive
2. Reboot the PC into RedHat Linux.
3. Open a terminal or use Nautilus and check the file name on the FAT32 drive
Actual results:

TEST ??? ??? ??? ??? ?.txt

Expected results:

TEST æøå ÆØÅ üöä ÜÖÄ é.txt

Additional info:

If I make the same filename in Linux it works fine (not tested on the FAT32 drive).
I'm using a Danish keyborad
Comment 1 Tim Waugh 2003-08-08 12:42:05 EDT
Nothing to do with bash.
Comment 2 Dave Jones 2003-08-08 12:53:07 EDT
Try inserting one of the codepage modules (modprobe nls_cp850 for example).
or possible nls_iso8859-15
Comment 3 Henrik Lind 2003-08-08 13:22:00 EDT
And How do I do that?
as ROOT I don't have a command called modprobe.
Comment 4 Michael K. Johnson 2003-08-08 15:30:57 EDT
use "su -" not "su" if you want to access commands in /sbin or /usr/sbin
without having to type the full pathname.
Comment 5 Henrik Lind 2003-08-08 16:27:51 EDT
Just tried to do 'modprobe nls_cp850' and 'modprobe nls_iso8859-15' and still
the same.

Comment 6 Kai Thomsen 2003-08-14 12:43:18 EDT
Find the line corresponding to your FAT32 partition in /etc/fstab, and add 
`iocharset=utf8' as a mount option (third field to the right).
Comment 7 Henrik Lind 2003-08-15 01:08:03 EDT
Ok, I changed the fstab file to this :

/dev/hdb2    /win_data     vfat,iocharset=utf8    defaults      0 0

Still the same, it did not fix it :(
Comment 8 Kai Thomsen 2003-08-15 06:47:33 EDT
No, it should be as follows:

/dev/hdb2    /win_data     vfat    defaults,iocharset=utf8      0 0
Comment 9 Henrik Lind 2003-08-15 11:50:56 EDT
That seemed to do the trick.
I now have the correct names in terminal and in most other programs (not Xine's
file selector).

I guess the installer did not know/guess that I has a Danish FAT32 drive?
Comment 10 Mikko Paananen 2003-10-28 10:47:30 EST
Duplicates: #79396, #107834, #107935.

This problem has been reported least three times during severn beta cycle.

#79396 is on "make cambrigde better"
#107834 has alternative fix.

Note You need to log in before you can comment on or make changes to this bug.