Weird AppleScript Problem
Weird AppleScript Problem
- Subject: Weird AppleScript Problem
- From: Bernardo Hoehl <email@hidden>
- Date: Sun, 04 Dec 2011 08:49:53 -0200
Hi friends,
I have found a problem with this code:
considering case "ª" = "a" end considering
On my understanding this should return "false".
But it returns "true".
What is the best way to detect characters like these?
I have been running a script for years, using the following code:
property forbidenList : every character of "ÁÂÄÀÃáâäàãÉÊËÈéêëèÍíîìïÓÔÖÒÕóôõöòÚÜÛÙúüûùçǺ" property replaceList : every character of "AAAAAaaaaaEEEEeeeeIiiiiOOOOOoooooUUUUuuuucCo"
But this does not work for me when I have this special char.
Any shell script suggestions?
Thanks!
Bernardo Höhl Rio de Janeiro |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden