• 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: Japanese backslash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Japanese backslash


  • Subject: Re: Japanese backslash
  • From: email@hidden
  • Date: Mon, 23 Apr 2007 02:40:22 +0200

Sorry, that was a typo. It was supposed to read "\\/". The culprit is
not the shell script. It works just fine - as long as we are not
running in Japanese. Quoted form or not, using ASCII 92 simply doesn't
help, as its still translated to a Yen mark in MacJapanese.

Thanks,
Fabian

On Apr 22, 2007, at 4:17 PM, email@hidden wrote:

The only way to put a backslash into a string in Applescript is to
escape it with another backslash.

"\/" does not compile.  "\\/" does compile.

Does this work:
"sed -e 's/<key>Title<" & (ASCII character 92) & "/key>//g'"

Perhaps you need to use "quoted form of"

quoted form of "sed -e 's/<key>Title<" & (ASCII character 92) & "/ key>//g'"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: Japanese backslash
  • Next by Date: Re: Japanese backslash [SOLVED]
  • Previous by thread: Re: Japanese backslash
  • Next by thread: Re: Japanese backslash
  • Index(es):
    • Date
    • Thread