Re: Unicode in file paths...

2015-05-08 Thread Paul Dupuis
On 5/7/2015 12:42 AM, Richard Gaskin wrote: > Fails: > - OS X 10.7 QuickTime > - OS X 10.6 QuickTime > For clarification for any one following this thread: The above combinations work. I had an error in my code that had the original tests fail. Using LC704, file references for media that incl

Re: Unicode in file paths...

2015-05-07 Thread Mark Schonewille
Paul, If you do this entire part in AppleScript, the problem solves itself. set xFile to choose file of type "mov" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553

Re: Unicode in file paths...

2015-05-07 Thread Paul Dupuis
On 5/6/2015 7:08 PM, Paul Dupuis wrote: > answer file "Pick a movie:" > set the fileName of player 1 to shortFilePath(it) Mark & Peter, Thank you for the tips. The issue (in LC 6.7.4) appears not to be the manipulation of the file, but having some way of prompting the user to select a file with U

Re: Unicode in file paths...

2015-05-07 Thread Paul Dupuis
On 5/7/2015 12:42 AM, Richard Gaskin wrote: > If I read that correctly the LC 7.0.4 results for Unicode media paths > could be summarized as: > > Works: > - Windows QuickTime > - OS X 10.10 AV Foundation > - OS X 10.9 AV Foundation > - OS X 10.8 AV Foundation > > Fails: > - OS X 10.7 Qui

Re: Unicode in file paths...

2015-05-07 Thread Mark Schonewille
Hi Paul, Before playing a movie, you could use AppleScript or shell to store a copy of the file in the temp folder with a name encoded in MacRoman-compatible characters. (Use UTF8 for the file path in AppleScript). You may need to save the AppleScript as a .scpt file on disk and execute with

Re: Unicode in file paths...

2015-05-06 Thread Richard Gaskin
If I read that correctly the LC 7.0.4 results for Unicode media paths could be summarized as: Works: - Windows QuickTime - OS X 10.10 AV Foundation - OS X 10.9 AV Foundation - OS X 10.8 AV Foundation Fails: - OS X 10.7 QuickTime - OS X 10.6 QuickTime Not described: - OS X 10.7 A

Re: Unicode in file paths...

2015-05-06 Thread Peter Haworth
I think you should be able to use uniDecode to convert the filename string to its Unicode equivalent. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, May 6, 2015 at 4:08 PM

Unicode in file paths...

2015-05-06 Thread Paul Dupuis
I am trying to simply prompt for a movie file and set the filename of a player to that filespec. Essentially: answer file "Pick a movie:" set the fileName of player 1 to shortFilePath(it) If I have a movie file, say video.mov in a folder with Unicode characters, say "Κάποια έρευνα" (Greek), the a