More on 'there is a file it' returning false for files w/ non-Western European chars

Colin Holgate coiin at rcn.com
Tue Apr 15 13:49:07 EDT 2008


At 10:41 AM -0700 4/15/08, Robert Sneidar wrote:
>Am I missing something here?

Yes, you missed the part where you test your theory! I tried for a 
while to find a solution, and couldn't find one. The issue is that 
when you get the file that contains those odd characters, the string 
is already wrecked. You can see the effect by doing this (and 
pointing to a file with those odd characters in its name):

answer file ""
open file it
close file it

You'll now have a new file, that is the distorted variation of the 
original filename. So for any case where you are asking the user to 
pick a file, you're not going to have the path to that file, you'll 
get a modified version of it.




More information about the use-livecode mailing list