• 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 ( funklessly ) (not)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode to plain text ( funklessly ) (not)


  • Subject: Re: Unicode to plain text ( funklessly ) (not)
  • From: Paul Skinner <email@hidden>
  • Date: Thu, 19 Sep 2002 23:56:30 -0400

On Thursday, September 19, 2002, at 02:41 PM, Paul Berkowitz wrote:

SNIP

That gives you 'international string' which is styled text, not plain text.
You too have not been paying attention the last several months.

--
Paul Berkowitz

On the contrary, I have been following the Unicode threads in particular.

This thread specifically started when...

On Wednesday, September 18, 2002, at 03:02 PM, Jon Pugh wrote:

CodeWarrior wants plain text to insert into its windows, class TEXT.

And in an earlier thread (Unicode to plain text) On Thursday, September 5, 2002, at 04:28 AM, Christopher Nebel wrote:

[1] "string" objects are sent out in events as plain text (aka typeText) if they have no style information at all. String constants never have style information.

My error was in assuming that I could create such a styleless string by ignoring the style data. AS dutifully maintains it for me if any element used in creating the string had any style info.

Mea culpa.

While investigating this I find more strange things afoot with this Unicode stuff.


set prevdelimiter to AppleScript's text item delimiters
set AppleScript's text item delimiters to ""

set U to "Hello" as Unicode text
text items of U
-->{"", "", "e", "l", "l", "o"}

--set AppleScript's text item delimiters to prevdelimiter

--
Paul Skinner
...thinking the Brits are behind this... ; )
_______________________________________________
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 ( funklessly ) (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Exporting Eudora mailboxes as text to structured folders
  • Next by Date: Re: Ready made OSAX or script for a lazy programmer
  • Previous by thread: Re: Unicode to plain text ( funklessly )
  • Next by thread: Re: Unicode to plain text
  • Index(es):
    • Date
    • Thread