Re: For some strange reason
Re: For some strange reason
- Subject: Re: For some strange reason
- From: Jon Pugh <email@hidden>
- Date: Thu, 02 Jun 2011 22:28:27 -0700
At 10:13 PM +1000 5/20/11, Shane Stanley wrote:
> > on Pugh's SmartString object does upper/lower case:
>>
>> http://www.seanet.com/~jonpugh/
> >
> > There are also some handlers out there that do a fine job - such as:
> >
>> http://macscripter.net/viewtopic.php?id=13297
>
>But again, these are ASCII-only (some of the variants in the macscripter
>thread also handles some common accented characters, but that's all).
FWIW, my SmartString handles the common accented characters, which is typically all people really need, and is basically the recommended technique for Unicode upper/lowercasing (i.e. tables of code point pairs). This is also what the ICU library does. Granted, this is simple, but it works.
property lowers : "¦æáàâäãåéèêëóòôöõúùûüíìîïñçøÿ¼"
property uppers : "ÆÁÀÂÄÃÅÉÈÊËÓÒÔÖÕÚÙÛÜÍÌÎÏÑÇؽ"
Of course you couldn't have known this since I had apparently forgotten to upload the latest version I've been using. So now I've uploaded version 1.7.1 which you can download as desired and upper and lowercase your accented Roman languages to your heart's content.
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