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 08:56:58 -0700
On 9/20/02 8:12 AM, "Arthur J. Knapp" <email@hidden> wrote:
>
Since I'm not in a non-Unicode environment, could someone tell me
>
what happens when you do this:
>
>
(uText as styled text as record)'s <<class ktxt>>
--> "???" -- no error, nothing useful
(uText as styled text as record)
--> {<<class ktxt>>:"???", <<class ksty>>:<<data
styl0001000000000010000E00030000000C000000000000>>}
>
>
>
> class of uText --> Unicode text
>
> try
>
> uText as record
>
> on error e
>
> return {uText, e}
>
>
What is the error message? Does the unicode text appear as styled
>
text in the error?
No.
--> "Can't make \"???\" into a record."
>
>
Remember, the point of this exercise is not to display all Unicode
>
characters accurately in some other way. We simply want a way to
>
take more or less 7-bit ascii that is given to us in Unicode format
>
and convert it to plain text so we can send it to the applications
>
or environments that need it as plain text.
--
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.