Re: Japanese backslash
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