Re: AppleScript strings fail
Re: AppleScript strings fail
- Subject: Re: AppleScript strings fail
- From: Axel Luttgens <email@hidden>
- Date: Sun, 26 Oct 2008 23:41:29 +0100
Le 26 oct. 08 à 18:06, Nigel Garvey a écrit :
has wrote on Sat, 25 Oct 2008 22:56:15 +0100:
FYI,
"1" < "@"
--> false
This returned 'true' a few months ago; now it returns 'false'.
On the Jaguar machine I'm at at the moment, it returns 'true' if the
items are strings and 'false' if they're Unicode text.
Same here when trying on a Tiger box.
The Unicode
behaviour must be wrong.
Maybe not: this is perhaps just a matter of differing collations (say,
a POSIX collation vs the Unicode collation algorithm).
Here, with Leopard, a quick experiment leads to the following ordering
for characters 32 to 127:
`^_-,;:!?.'\"()[]{}@*/\\&#<=>|~
$0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
This is very similar to the order that would be adopted in the Finder
for displaying items sorted by name.
Just rough guesses...
Axel
_______________________________________________
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