Re: Unicode to plain text
Re: Unicode to plain text
- Subject: Re: Unicode to plain text
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 20 Sep 2002 09:22:01 -0700
On 9/20/02 8:12 AM, "Arthur J. Knapp" <email@hidden> wrote:
>
> Date: Thu, 19 Sep 2002 23:05:18 +0100
>
> From: John Delacour <email@hidden>
>
> Subject: Re: Unicode to plain text
>
>
>>> Does anyone know how to convert utxt to TEXT in plain AppleScript?
>
>
>>> set plain_text to +class ktxt; of (unicodeString as record)
>
>
> Unless, of course, it is _true_ Unicode text, in which case it will
>
> not be coerced to a record, since it needs to contain no style info.
>
> The style info is purely for the purposes of displaying in
>
> NON-Unicode fonts in NON-Unicode environments.
>
>
> One day the message is going to get through!
>
>
Oh, sorry. :(
which raises the interesting question
Since the <class ktxt>> thing _does_ work for everything returned by the
Finder for file and folder names, for the file systems alias filepaths, and
for lots else - does this mean that the file system has _not_ been
implemented in real Unicode, or that it's AppleScript which is giving us the
pseudo-version?
--
Paul Berkowitz
_______________________________________________
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.