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