Re: ASCII & HTML
Re: ASCII & HTML
- Subject: Re: ASCII & HTML
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 23 Mar 2003 22:20:54 -0800
On 3/23/03 1:02 PM, "Peter Bunn" <email@hidden> wrote:
>
I found a simple little library on the web which I thought might help me
>
in what I'm trying...
>
>
It sets a string of (mostly Euro) ASCII characters and replaces them with
>
a list of permissible HTML text items.
>
>
But... devoid of any other manipulations, I'm getting rather unexpected
>
results... (see below).
>
>
I've never played with non-English keyboard characters before... what
>
hopelessly obvious item am I overlooking?
>
>
Thanks.
>
>
Peter B.
>
>
--
>
>
set char_string to "`@bBdDhHiIjJkKgGytTnNoOfF).™#&'<>1w,0!?x+;$"
>
>
if "D" is in char_string then
>
>
display dialog "You Bet."
>
>
end if
>
>
set this_char to the offset of "D" in char_string
>
>
--> 0
I get
--> 6
here. But most likely the mailing list server perverted your original
string. It doesn't do any upper/non-ASCII characters correctly and there
aren't any in the version it spewed out.
You can send me your real string privately.
It's so idiotic that they don't ever fix this.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.