Re: weak multi-language support in AS (Re: Convert first char to lower case [kind of OT])
Re: weak multi-language support in AS (Re: Convert first char to lower case [kind of OT])
- Subject: Re: weak multi-language support in AS (Re: Convert first char to lower case [kind of OT])
- From: has <email@hidden>
- Date: Wed, 9 Jan 2002 15:48:59 +0000
>
From: Helmut Fuchs wrote:
>
It's ALL already in the MacOS. And AppleScript even has some
>
knowledge about the different worldwide character encodings built in,
>
by means of "styled text" (and has had it for YEARS). Thousands of
>
hours of engineering and research have been spent in MacOS'
>
international capabilites - but they are inaccessible for
>
AppleScripters (without third-party additions).
Quite. And it is frustrating. Adding multiple language support to my [still
unreleased] dateLib was a similarly annoying exercise. Every language
supported requires another big fat record containing words for weekdays and
months to be added. As was pointed out to me by someone who tried the
thing, all this information already exists in the classic MacOS. But
AppleScript doesn't provide any method of querying that info, so what can
you do? You can't even hack a solution yourself as it's buried deep in a
System resource (and, frankly, you'd be a fool to try).
Perhaps things will improve with OS X, given that it's built ground-up for
multi-language support. Now we have to wait for AS to provide nice ways to
access all that accumulated wisdom.
has