• 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: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]


  • Subject: Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 25 Oct 2005 12:36:58 -0700

On Oct 25, 2005, at 4:38 AM, Emmanuel wrote:

At 1:42 AM +0100 10/25/05, kai wrote:

One method that I've been using to produce Unicode-only characters is:

    «data utxt3048» as Unicode text

While this seems to be substantially faster than using a shell script, I'm just wondering if there's a potential downside...

Not sure, but for some reason I never identified (since I can use "unicode character" instead) I observed crashes with those utxt.

I dimly recall bugs of that nature in the past, but I believe they've been fixed. Using «data utxt...» is of course much faster than a shell script; the major "downside" is simply that it doesn't do what (I thought) Shane was asking for, which was to convert from the character to the code point at run-time. As long as all you need is a compile-time constant, then it's fine.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Finding \t, \r, \n reliably (From: Shane Stanley <email@hidden>)
 >Re: Finding \t, \r, \n reliably (From: Christopher Nebel <email@hidden>)
 >Producing Unicode-only characters [was: Finding \t, \r, \n reliably] (From: kai <email@hidden>)
 >Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably] (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: [appscript] looking for feedback
  • Next by Date: curl equivalence
  • Previous by thread: Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
  • Next by thread: Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
  • Index(es):
    • Date
    • Thread