• 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: ASCII & HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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).&trade;#&'<>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.

References: 
 >ASCII & HTML (From: Peter Bunn <email@hidden>)

  • Prev by Date: Memory leak in System Events?
  • Next by Date: Re: Memory leak in System Events?
  • Previous by thread: ASCII & HTML
  • Next by thread: Wanted: Well scriptable browser
  • Index(es):
    • Date
    • Thread