Re: i18n settings for cifs&vfat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all, hi alexander,

even when i set the locale to 

LANG="de_DE.UTF-8"

and the fstab to 

/dev/hdb5               /mnt/daten              vfat   
defaults,uid=chris,gid=chris,codepage=850,iocharset=iso8859-1,shortname=winnt 0 0
/mnt/daten              /home/chris/daten       vfat    bind

vfat unicode characters are not valid. every unicode is displayed as
"?". thats the real strange thing..

mmh, what to do? unset CONFIG_FAT_DEFAULT_CODEPAGE=437 and recompile the
kernel?

thanx for your help and all the best

christoph


Am Mi, den 18.08.2004 schrieb Alexander Dalloz um 17:21:
> Am Mi, den 18.08.2004 schrieb christoph kunz um 11:03:
> 
> > i´m using fc2 with standard kernel 2.6.7-1.494.2.2. in my ofrfice
> > setting i have to mount windows shares via cifs and my ms compatible
> > vfat partition for data storage.
> > 
> > with fc2 standard kernel 2.6.6 everything went fine with display names
> > of files when mounting cifs or vfat. 
> > now with the new kernel german umlaute (ä,ü) are corrupted in vfat.
> > after googling i changed the line in /etc/sysconfig/i18n to 
> > #LANG="de_DE.UTF-8"
> > #LANG="de_DE@euro"
> > LANG="de_DE"
> > 
> > now vfat mounts correctly display filenames but cifs mounts are
> > coruppted. with LANG="de_DE.UTF-8" it vice versa.
> > 
> > do you have any hints what changed with the 2.6.7 kernel?? or how to
> > correctly mount cifs AND vfat??
> 
> > christoph
> 
> With just a quick grep over the config for
> /boot/config-2.6.7-1.494.2.2smp I see that it has
> 
> CONFIG_FAT_DEFAULT_CODEPAGE=437
> 
> while the older /boot/config-2.6.6-1.435.2.3 does not have such a
> setting. Though the default codepage for vfat was 437 already before
> (see man mount).
> I think what you should try is to use the UTF-8 locale and when mounting
> your vfat partitions "iocharset=" as a mount option. Please see the vfat
> part in the manpage for mount. There is a "codepage=" option too, you
> may try that as well with i.e. a value of 850.
> 
> Alexander
-- 
dipl.-ing. christoph kunz
fraunhofer institut fuer arbeitswirtschaft und organisation
competence center softwaretechnik
nobelstrasse 12
d-70569 stuttgart
germany

fon:      +49 (0)711 - 970 2314
fax:      +49 (0)711 - 970 2300
mail:     christoph.kunz@xxxxxxxxxx
icq#:     49335597
web:      http://www.iao.fhg.de
pgp#:     12AF7964@xxxxxxxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux