Re: AppleScript e-mail encode/decode tool
Re: AppleScript e-mail encode/decode tool
- Subject: Re: AppleScript e-mail encode/decode tool
- From: email@hidden
- Date: Mon, 19 Feb 2001 16:22:03 -0500
On Mon, 19 Feb 2001 02:13:42 -0500, Bill Cheeseman <email@hidden>
suggested,
>
Any 8-bit character could appear in a quoted string, so the encoding should
>
handle all of them.
In addition to quoted strings, 8-bit characters can also appear in variable
names that use the pipe syntax, and in the type codes in raw Apple Events (in
chevrons.)
For example,
set |risumi| to "My Life"
set |per|kenst|ck| to "Shickele Number 7<"
tell application "My App" to +class DTO Lttk;
Which, for those reading through a list server that doesn't handle the ISO
8859-1 character set, reads like this, with accents suppressed.
set |resume| to "My Life"
set |perukenstuck| to "Shickele Number 7 1/4"
tell application "My App" to <<class DTI Look>>
A seven-bit clean AppleScript dialect would have to provide a hex coding or
quoted-printable encoding of the type classes.
But I still assert: give us ISO 8859-1, and we'll stop whining. Nobody was
whining on the old Applescript-users list before the server changed, and nobody
is whining on MACSCRPT. If chevrons and line continuation characters came
through, 90% of what we talk about would be discussible without any special
encoding. No scripts to install, no special encoding steps. It Just Works.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden