• 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: Unicode to plain text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Unicode to plain text (From: "Arthur J. Knapp" <email@hidden>)

  • Prev by Date: Re: Unicode to plain text
  • Next by Date: Re: Ready made OSAX or script for a lazy programmer
  • Previous by thread: Re: Unicode to plain text
  • Next by thread: Re: Unicode to plain text
  • Index(es):
    • Date
    • Thread