• 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
Weird
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird


  • Subject: Weird
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 17 Oct 2002 00:02:10 -0700

AS 1.9 in OS 10.2.1:

((ASCII character 32) as Unicode text) contains (ASCII character 202)
--> true

ASCII character 202 is the large option-space. ASCII character 32 is a
normal space.

I have a routine that checks for and removes option-spaces from strings and
Unicode text. I discovered that every Unicode name (usually "firstName
lastName" with a space in between) was being tagged as "containing" an
option space and was sent to the handlers for removing it, but there was
nothing to remove.

It turns out that the Unicode space between firstName and lastName
"contains" option-space, all by itself. I certainly hope this is a bug. If
not, what exactly is it?

is there any AppleScript team person reading the list who can answer 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.

  • Prev by Date: Re: Script Objects
  • Next by Date: Re: Script Objects
  • Previous by thread: Applework 6
  • Next by thread: Re: Weird
  • Index(es):
    • Date
    • Thread