• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unix file path problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix file path problems


  • Subject: Re: Unix file path problems
  • From: Walter Ian Kaye <email@hidden>
  • Date: Tue, 29 Jun 2004 04:03:25 -0700

At 05:38p -0700 06/27/2004, Walter Ian Kaye didst inscribe upon an electronic papyrus:

At 12:15a +0100 06/28/2004, Martin Orpen didst inscribe upon an electronic papyrus:

This works fine until you encounter unusual characters in the folder name,
like "" (option-f).

Is there a way of getting these characters interpreted correctly in a POSIX
path?

Well, Terminal *displays* them as "octal Unicode", and that's a conversion which 'quoted form of' does not make. Option-f = \306\222

Bugaboo is that when I've tried typing that in Terminal, it doesn't work; however, if I use tab-completion to enter the same characters, then it works.
I haven't tried 'do script' though, nor quoting the octal-ized path.

I just tested further, and discovered that when I use tab-completion, it does not enter "\306\222" as a string; it enters *2* characters, which *display* as \306 and \222.

Now if I could just get Terminal to 'do script' at all, maybe I could do some further testing. It don't wanna do no script, durn it. Just iggs me. ::sigh::
Guess I'll just go to sleep.

I wanted to test stuff like "as Unicode text" to feed to 'do script'.
If anyone with a Terminal.app accepting events wants to pick up where I have to leave off, be my guest...


-boo
_______________________________________________
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.


References: 
 >Unix file path problems (From: Martin Orpen <email@hidden>)
 >Re: Unix file path problems (From: Walter Ian Kaye <email@hidden>)

  • Prev by Date: Re: Automator in OS 10.4 (Tiger)
  • Next by Date: Re: Automator in OS 10.4 (Tiger)
  • Previous by thread: Re: Unix file path problems
  • Next by thread: Re: Unix file path problems
  • Index(es):
    • Date
    • Thread