• 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: Intel writes creator codes backwards!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intel writes creator codes backwards!


  • Subject: Re: Intel writes creator codes backwards!
  • From: Doug McNutt <email@hidden>
  • Date: Tue, 17 Oct 2006 15:53:53 -0600

At 21:39 +0200 10/17/06, Harald E Brandt wrote:
>Despite I think I have followed the list pretty well, I have not seen anyone report on the fact that System Events writes both creator codes and files types BACKWARDS on Intel-based Macs!?
>
>tell application "System Events"
>	set file type of file afilePath to "TEXT"
>	set creator type of file afilePath to "PTAa"
>end tell
>
>Results in:
>Creator: 'aATP'
>Type: 'TXET'

Byte swapping with 32 bit words can go two additional ways besides the big and little endian for 16 bit words of old.

ABCD -> BADC in Sun UNIX
ABCD -> DCBA in Microsoft Windoze.

I have been wondering just how long it would take before it becomes a problem.
--

-->  Halloween  == Oct 31 == Dec 25 == Christmas  <--
 _______________________________________________
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

References: 
 >Intel writes creator codes backwards! (From: Harald E Brandt <email@hidden>)

  • Prev by Date: re: Reported Size issue in PSCS2 (Oakley Masten)
  • Next by Date: Re: AppleScript-Users Digest, Vol 3, Issue 535
  • Previous by thread: Intel writes creator codes backwards!
  • Next by thread: Re: Intel writes creator codes backwards!
  • Index(es):
    • Date
    • Thread