Changeset 5b19f8b


Ignore:
Timestamp:
03/03/14 12:17:57 (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
b6a6398, 23e7b34
Parents:
7b1e4b6
Message:

When mounting FAT filesystems, also use the -L=<locale-code> flag for international users with special characters that need proper conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-mounttray/menuItem.cpp

    re417b8a r5b19f8b  
    203203  QString fstype; 
    204204  QString fsopts=""; 
    205   if( filesystem == "FAT" ){ fstype = "mount -t msdosfs"; fsopts = "-o large,longnames,-m=644,-M=777"; } 
     205  if( filesystem == "FAT" ){ fstype = "mount -t msdosfs"; fsopts = QString("-o large,longnames,-m=644,-M=777,-L=")+QString(getenv("LANG")); } 
    206206  else if(filesystem == "NTFS"){ fstype = "ntfs-3g"; } 
    207207  else if(filesystem == "EXT"){ fstype = "mount -t ext2fs"; } 
Note: See TracChangeset for help on using the changeset viewer.