• 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
Testing special characters (e.g., omega)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing special characters (e.g., omega)


  • Subject: Testing special characters (e.g., omega)
  • From: Jeffrey Mattox <email@hidden>
  • Date: Thu, 30 Jan 2003 23:25:41 -0600

How do I test for characters such as  (omega, Option-z) and  (sigma, Option-w)? If I test for those characters directly, they never match. For example, this test is never true

if ( theChar is "" ) then
display dialog "got an omega"
end if

If I log the characters begin tested, I get these constructs, which I don't understand:

Omega: "\\u03a9"
Sigma: "\\u2211"

Jeff
_______________________________________________
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.

  • Follow-Ups:
    • Re: Testing special characters (e.g., omega)
      • From: Mark Butcher <email@hidden>
    • Re: Testing special characters (e.g., omega)
      • From: Jeffrey Mattox <email@hidden>
  • Prev by Date: Re: What is the most efficient/fastest Find & Replace technique?
  • Next by Date: Re: What is the most efficient/fastest Find & Replace technique?
  • Previous by thread: Re: Multiple monitors and bounds [OT]
  • Next by thread: Re: Testing special characters (e.g., omega)
  • Index(es):
    • Date
    • Thread