OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: orthogonal on May 05, 2004, 05:12:35 am

Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: orthogonal on May 05, 2004, 05:12:35 am
On my PC, I have a directory tree of mp3 files.

Classical MP3s are in directories named for the composer.

Oddly enough, not all composers are American: one is Georg Friedrich Händel.

I samba mount those directories.

When I attempt to copy the Georg Friedrich Händel directory, bash correctly deals with the umlaut in Händel, rendering it as
  Georg Friedrich H204ndel/
on the command line, and as
  Georg Friedrich H,ndel
in ssh, or with the \"un-drawable character\" box in the Qtopia Shell app.

BUT, cp refuses to copy the directory name, and \"Advanced\" File Manager and XMMS simply don\'t show the directory at all -- it\'s as if it doesn\'t exist.

Perhaps, as an American, I should be gratified at the American-centric world-view this suggests, but in 2004 I\'d have expected some token support for high-ascii and i18n character sets.

This is just a terrible, terrible, clueless oversight: hide the directory if it contains unprintable characters?

Is this a linux problem, a Qtopia problem, or a clueless programmer problem?

Is there any work-around?

Thanks.
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: Mickeyl on May 05, 2004, 10:30:00 am
I think it\'s a Qt/E problem. Qt 3.x has _much_ improved support for foreign character sets. I\'m afraid you have to wait for Qtopia 4 or Opie 2.
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: Stubear on May 05, 2004, 10:41:40 am
As the directories in question are samba mounts you may get them working by changing the codepage for the samba mount (can\'t remember how ot do this sorry, been a long time since I\'ve connected a linux machine to windoze box).
Also if you can see the directory with ls then cp should be able to copy it.

try cp  Georg Friedrich H204ndel/  <destination>
or cp Georg Friedrich H?ndel/  <destination>

Stu
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: tz on May 05, 2004, 10:50:50 am
I don\'t know about XMMS or AFM, but I can locally copy a directory with \"cp -a\" if there are no spaces in the directory name - on an ext2 formatted SD card.  The spaces, or perhaps some other hidden character or attribute may be preventing the visibility.  If you are trying to copy it remote mounted, there may be other problems (permissions, etc) which might be causing the problem.

So, first, what kind of filesystem is this directory on when it is failing?
How long is the pathname (up to the composer name)?
What are its permissions (and is it the right userid)?  
cp probably says something other than \"I refuse to copy this directory\" - what error message does it give you?  
What is the exact line you are using to try to copy the directory?
can you cd to inside the directory and see and play the individual files?

It may not be a unicode/high ascii problem.
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: orthogonal on May 05, 2004, 11:55:46 am
Quote
So, first, what kind of filesystem is this directory on when it is failing?
How long is the pathname (up to the composer name)?  
What are its permissions (and is it the right userid)?  
cp probably says something other than \"I refuse to copy this directory\" - what error message does it give you?  
What is the exact line you are using to try to copy the directory?
can you cd to inside the directory and see and play the individual files?

It may not be a unicode/high ascii problem.


In ssh, the a with unlaut is turned into a comma:

# cp -R /mnt/smb/m/MP3s/Classical/Baroque/Georg Friedrich H204ndel/ .
cp: cannot create directory `./Georg Friedrich H,ndel\': Invalid argument
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: orthogonal on May 05, 2004, 11:56:24 am
Is it possible to compile the qtopia 3.x libs and use those as a drop in replacemnt?
Title: Clueless xenophobes (sometimes the Zaurus is so frustrating)
Post by: Mickeyl on May 05, 2004, 12:16:08 pm
Not without patching. Besides, they are HUGE and slow.