• 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: ASCII vs. MacRoman
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASCII vs. MacRoman


  • Subject: Re: ASCII vs. MacRoman
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 20 Jan 2004 10:26:47 -0800

On Jan 19, 2004, at 4:00 PM, Doug McNutt wrote:

Ask, for instance, whether "do shell script" passes Unicode line ends, 2028(16), or UNIX line ends, UTF-8 encoded 0A, to the shell. You'll be up all night.

Ermph. I would have thought it obvious that it passes whatever you give it as input, but apparently not. As for the encoding, if you read TN2065 (which you can find by searching the Apple web site for "do shell script"), you'll find that d.s.s. uses UTF-8 (see under "Dealing with Text"). As it happens, I need to update the note now that d.s.s. won't give you an error if the output isn't UTF-8, so I'll consider adding that, too.


--Chris Nebel
AppleScript Engineering
_______________________________________________
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: 
 >Standard Additions 'read' command - basic questions (From: Chap Harrison <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Emmanuel <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Emmanuel <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Christopher Nebel <email@hidden>)
 >ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions) (From: Chris Page <email@hidden>)
 >Re: ASCII vs. MacRoman (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Processing files in nested folders
  • Next by Date: Possible to batch LONG jobs?
  • Previous by thread: Re: ASCII vs. MacRoman
  • Next by thread: Re: ASCII vs. MacRoman
  • Index(es):
    • Date
    • Thread