MacOS X, player, long filename and accented chars : solved

Yves COPPE yvescoppe at skynet.be
Fri Dec 16 15:50:54 EST 2005


> Hi Yves,
>
> I tested with a file named Sébastien.mov
> and I got the correct encoding Se%CC%81bastien.mov
> The player can open the file.
> Is it possible we don't have the same character é ?


Hi Thierry


in fact, I use a shell function to use spotlight

function mdfind pQuery
   -- This one find matching files based on a given query.
   return shell("mdfind" && pQuery)
end mdfind


   ask "Quel mot" as sheet
   if it is empty then exit to top
   put it into tSearch
   put mdfind(tSearch) into tmp

the variable "tmp" contains "unreadable" pathToFile
I hoped with your function to retrieve the files given with the  
pathToFile
but it doesn't work ...

Perhaps you have a tip ?

Thanks.


Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list