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

Re: coercing styled text to text


  • Subject: Re: coercing styled text to text
  • From: Helmut Fuchs <email@hidden>
  • Date: Sat, 12 Jan 2002 21:47:23 +0100

At 14:59 Uhr -0800 11.01.2002, Ben Robbins wrote:
Any ideas how to coerce styled text to plain text?

I'm using the following to extract "string" data if I don't know, whether theString is a plain string, styled text of Unicode text:

get <<class ktxt>> of (theString as international text as record)

Be warned that you may be losing information - "styled text" carries information about encodings, whereas a plain string doesn't.

HTH,

Helmut
--


  • Follow-Ups:
    • Re: coercing styled text to text
      • From: Ben Robbins <email@hidden>
References: 
 >coercing styled text to text (From: Ben Robbins <email@hidden>)

  • Prev by Date: Re: POSIX path
  • Next by Date: Re: Form data
  • Previous by thread: coercing styled text to text
  • Next by thread: Re: coercing styled text to text
  • Index(es):
    • Date
    • Thread