Re: mac to unix path names
Re: mac to unix path names
- Subject: Re: mac to unix path names
- From: Reinhold Penner <email@hidden>
- Date: Fri, 2 May 2003 14:43:53 -1000
JD,
On Friday, May 2, 2003, at 14:18 Pacific/Honolulu, John Delacour wrote:
At 1:27 pm -1000 2/5/03, Reinhold Penner wrote:
Well, that's what I thought, but I have a user whose disk is called
called "disc trhs dur" (I'm sure the mail server will screw this up).
Anyway, it's an accented "e" like [e`] and I can't address it with a
properly quoted POSIX path. Spaces an other chars work though.
Provided it's their startup disk then it's posix path is "/"
Yes, that I know.
I have created a folder ~/disc tr<egrave>d dur/
Actually, I have tried to do the same when the user reported the
problem to me, but I could never reproduce it with a file name. Yet the
HD name failed to resolve the proper path. So when I asked him to
change the name of the hard disk to one without the <egrave>, the
script would work for him.
If you drag a file named "disc tr<egrave>d dur" to the terminal, the
accent will be lost, and that is definitely a bug.
Yep.
I don't really see what the problem is, especially as you seem to be
talking of the startup disk.
No, actually I construct the path like this:
set applSup to ((path to application support from user domain) as text)
So may be I should use "as Unicode text" instead?
-Reinhold
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.