• 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: Various Qs about Intel and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Various Qs about Intel and AppleScript


  • Subject: Re: Various Qs about Intel and AppleScript
  • From: jj <email@hidden>
  • Date: Sat, 04 Feb 2006 17:06:09 +0100
  • Thread-topic: Various Qs about Intel and AppleScript

> At 2:15 PM +0100 1/11/06, jj wrote:
>> Will little-endian vs. big-endian affect AS code?
>>
>> For example, if I compile an alias reference in a PowerPC machine, will it
>> fail in the Intel one?
>>
>> Or should I write/read Unicode text being aware of endian differences?
>
> This has little to see with the Intel machine. Anyway you may have on
> your machines low-endian as well as big-endian Unicode files, and
> most Unicode reader software understand both - except of course for
> UTF-8 without the BOM where the software usually guesses its own
> endian.

Yes, but for example, you can write "as list", where every member is a chunk
of Unicode text, and I don't think actually the structure includes a BOM (it
doesn't at all), so I was trying to ensure you can retrieve the exact info
both from Intel and PPC when you read the data again (and seem Chris ensures
a big-endian behaviour in both machines, at least till AppleScript is
re-newed ;-).

Appart from this, some times you are simply using the "write" command, and
the new behaviour will use an implicit "as Unicode text" when you provide
such kind of data (and this applies to a great bunch of scripts which were
in the past writing data with the old-implicit "as text").


jj

--
http://www.macscripter.net/
http://www.osaxen.com/


 _______________________________________________
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: Various Qs about Intel and AppleScript
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Q: GraphicsConverter Paste At (format for position?)
  • Next by Date: Re: Various Qs about Intel and AppleScript
  • Previous by thread: Re: Various Qs about Intel and AppleScript
  • Next by thread: Re: Various Qs about Intel and AppleScript
  • Index(es):
    • Date
    • Thread