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

Re: Re: Japanese backslash


  • Subject: Re: Re: Japanese backslash
  • From: email@hidden
  • Date: Mon, 23 Apr 2007 00:31:09 +0200

Yes, of course. The most simple example would be:

"\/"

Try to compile it in Script Editor running in Japanese and you will
get an "unknown token" error. Then try:

set backslash to ASCII character 92
return backslash & "/"

This will result in backslash-yen mark-slash.

set backslash to (ASCII character 92) as Unicode text
return backslash & "/"

or:

set backslash to «data utxt005C» as Unicode text
return backslash & "/"

Both will result in "Ä\/"

/fabian

On Apr 22, 2007, at 2:55 PM, email@hidden wrote:

I understand there is a long-standing bug in Applescript that
translates backslashes to Yen marks, even when scripts are distributed
in pre-compiled form. I have tried substituting the literal backslash
with its ASCII character number to no avail. So my question is: what's
the work-around? Please tell me there is one...

Can you provide a sample script that demonstrates this bug? I haven't
been able to duplicate it.

-- Michelle

--
I am a pseudomasochist..  I like it when people pretend to beat me.
_______________________________________________
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
  • Follow-Ups:
    • Re: Japanese backslash
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Japanese backslash
  • Next by Date: Re: Japanese backslash
  • Previous by thread: Re: Japanese backslash
  • Next by thread: Re: Japanese backslash
  • Index(es):
    • Date
    • Thread