On 09.07, Pablo Saratxaga wrote: > Kaixo > > > A little question: I copy files from OSX to my cooker box. They are > > UTF-8 encoded. I can't manage to see accents in ls (original name is 'qu�'): > > > > werewolf:~/t> ls > > que�?/ > > > > werewolf:~/t> env | grep LC > > LC_CTYPE=es_ES.ISO-8859-15 > > MacOS X uses UTF-8. > Change LC_CTYPE=en_ES.UTF-8 and you will see them. >
Tests... werewolf:~/t> LC_CTYPE=es_ES.ISO-8859-1 ls que�?/ werewolf:~/t> LC_CTYPE=es_ES.ISO-8859-15 ls que�?/ werewolf:~/t> LC_CTYPE=es_ES.UTF-8 ls qué/ > (if the kernel has support for charset conversion for the filesystem > used by MacOS X you could put the right options on /etc/fstab so the > conversion is done when copying files. > mount man page seems to tell the fs type is "openstep", and it tells > nothing about possible iocharset option). > > Your best solution to exchange disk space between both systems > would be, imho, to use UTF-8 in linux. > No shared storage. I copy the files via scp. So what I really like woudl be an option for ext3...that looks missing. > Or manually rename them (or you can do a small script to do it, > with iconv) > Will look at how it works. TIA -- J.A. Magallon <[EMAIL PROTECTED]> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.2 (Cooker) for i586 Linux 2.4.23-pre2-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk))
