Re: Strings comparisons over 32K
Re: Strings comparisons over 32K
- Subject: Re: Strings comparisons over 32K
- From: Christopher Nebel <email@hidden>
- Date: Sat, 19 Apr 2003 02:30:03 -0700
On Friday, April 18, 2003, at 07:47 PM, Philippe GRUCHET wrote:
10.2.5 / AppleScript.component 1.9.1
When trying some string comparisons in memory, there's no error
message when data > 32 Kb, but it doesn't work!
=> Only works if length < 32768
=> if length > 32767, only works by removing the conditional string
comparison 'if "blah" is in theBuffer then'
Do you confirm this persistent 32K limit (32767 characters/1024)?
If yes, what's the reason of this old limitation?
3126655: "contains" and "ends with" always return false if match is
beyond 32K.
The problem only occurs when ignoring case (blame the old 32K-centric
text APIs); using "considering case" or coercing to Unicode will return
the correct result. This should be fixed in the next release.
--Chris Nebel
Apple Development Tools
_______________________________________________
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.