Re: ASCII vs. MacRoman
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.