hello,

mac os x store file name in utf-8 format. so, how to open file with 
"special" characters in name ?

a very simple exemple is a file name that begin with space. if i write :
open(FILE," Read in a file"), perl return an error:
  *** can't open [ Read in a file] : No such file or directory

i suppose that i do "escpae" chars like terminal do when dragging file 
directely in the windows, but how ?

" Read in a file" --> "\ Read\ in\ a\ file"
"Eléments mécaniques" --> "Ele\314\201ments\ me\314\201caniques" 


in fact, the strange thing is that it's the "wanted function" of the 
File::Find module who return the file name and the file name is not 
exploitable :((


thanks

-- 
klp

Reply via email to