• 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: Posix path and High Ascii Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posix path and High Ascii Characters


  • Subject: Re: Posix path and High Ascii Characters
  • From: John Delacour <email@hidden>
  • Date: Mon, 9 Sep 2002 17:42:46 +0100

At 2:26 pm +0200 9/9/02, Alain Content wrote:


Posix path does not change high ascii characters (ie, i h g etc...) which
sometimes make unix paths unapplicable for shell scripts or terminal.

Provided you have named the file with a Mac keyboard layout rather than a Unicode keyboard layout -- as you almost certainly have -- then you should have no problem using the original Mac characters in shell scripts, BUT you must either escape the space in the pathname or enclose the pathname in DOUBLE quotes

[ % == e' -- thanks administrator :-< ]


do shell script "open /Users/ac/Desktop/photos\\ %t%"

-- or

do shell script " open \"/Users/ac/Desktop/photos %t%\""


or simply don't be a Frenchman :-)


It looks to me as if OS X is still very confused about encodings and no matter how you change the window settings in Terminal, it's hard to see what's meant to be happening.

Your "/Users/ac/Desktop/photos\ e\314\201te\314\201/" makes no sense to me in UTF-8.

e'te' should be encoded in UTF-8 as ascii characters
{#195, #169, #116, #195, #169}

Perhaps Chris can clarify this whole issue.



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

  • Follow-Ups:
    • Re: Posix path and High Ascii Characters
      • From: Christopher Nebel <email@hidden>
References: 
 >Posix path and High Ascii Characters (From: Alain Content <email@hidden>)

  • Prev by Date: Re: Posix path and High Ascii Characters
  • Next by Date: Re: Jaguar applets don't run on 10.1.5
  • Previous by thread: Re: Posix path and High Ascii Characters
  • Next by thread: Re: Posix path and High Ascii Characters
  • Index(es):
    • Date
    • Thread