• 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
Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]


  • Subject: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 16 Mar 2009 09:17:39 -0700

At 4:10 PM +0100 3/16/09, KOENIG Yvan wrote:
>My point is that when we read:  (The file is MacOS Roman encoding.)
>we logically assume that the embedded uppercase() and lowercase() handlers are able to treat the entire MacRoman set, not a small subset.

Technically, the MacRoman aspect of the file's encoding is completely unrelated to the functionality of the lowercase and uppercase methods and is solely related to the encoding of the ‚ signs in the code.  So making any assumptions about the code's functionality based on its encoding is foolish at best.

SmartString does all of its string manipulation in native AppleScript unicode.  However, the case changing problem isn't even well defined in Unicode.  The current routines in question use the old ASCII ordering, which is retained in Unicode albeit augmented by a thousand.

I'm now attempting to remedy this situation by adding additional code to handle the common unicode upper/lowercase translations, but it's having an egregious impact on the code speed and clarity since Unicode case transformations are not well defined.

Jon
 _______________________________________________
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

  • Follow-Ups:
    • Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
      • From: KOENIG Yvan <email@hidden>
References: 
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: Shane Stanley <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: Jon Pugh <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: KOENIG Yvan <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: Jon Pugh <email@hidden>)
 >Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript] (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Next by Date: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Previous by thread: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Next by thread: Re: Re. third-party dependencies [was Re: Stock Quotes using AppleScript]
  • Index(es):
    • Date
    • Thread