Page 1 of 1

Defaultfolder and accented characters in iDisk

Posted: Wed Nov 11, 2009 6:16 pm
by paulclaude
It seems that, using the defaultfolder to access any iDisk folder with accented chars in the folder name, gives a "can't open directory" error and automatically unmount the iDisk volume.

Example:

Code: Select all

set the directory to "/Volumes/userName/Web/Sites/recettes/Recettes_réalisées_avec_du_matériel_files"
gives this error.

Any suggestion?

Posted: Thu Nov 12, 2009 8:31 am
by Janschenkel
Could you first use answer folder to select the iDisk folder, and then check its path?

Code: Select all

on mouseUp
  answer folder
  if the result is not "Cancel" then
    answer it
  end if
end mouseUp
Jan Schenkel.

Posted: Thu Nov 12, 2009 8:50 am
by paulclaude
Janschenkel wrote:Could you first use answer folder to select the iDisk folder, and then check its path?

Code: Select all

on mouseUp
  answer folder
  if the result is not "Cancel" then
    answer it
  end if
end mouseUp
Jan Schenkel.
Yes, Jan, without problems: the path is displayed correctly. The problem is that defaultFolder gives this error anyway, and it seems to me that it doesn't accept encoded paths.

Posted: Thu Nov 12, 2009 10:27 am
by Janschenkel
In that case, you should file a report in the Quality Control Center
Make sure to include your MacOSX version in the report.

Jan Schenkel.

Posted: Thu Nov 12, 2009 10:43 am
by paulclaude
Done. But I hoped that somebody could suggest a solution

Posted: Fri Nov 13, 2009 3:35 pm
by paulclaude
Only to inform everybody: the same problem happens with the "there is" operator (it return false and the iDisk is unmounted).