Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
- Subject: Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 28 Feb 2008 13:56:19 -0800
- Thread-topic: linebreak in a shell script; was Re: What's wrong with this call to zip?
On 2/28/08 1:29 PM, "Shane Stanley" <email@hidden> wrote:
> On 29/2/08 5:29 AM, "Paul Berkowitz" <email@hidden> wrote:
>
>> So I'd hope that now that "A" is Unicode by definition in Leopard, it still
>> works the same?
>
> Be aware that there are some differences, though. Specifically, characters
> that aren't actually ASCII characters, like curly quote marks or chevrons,
> for example, return the MacRoman encoding number with ASCII number, but
> return the proper Unicode code point with id.
That sounds like the right way to do it.
>
> Also, a linefeed following a carriage return is a single Unicode character
> (with two code points), so code using text item delimiters to do conversions
> may no longer work.
Thanks, Shane, this is helpful. Fortunately, I've mostly been using
'paragraphs' for years because it's faster, and worked better in the days
when there was a limit on how many tids could be caught at once. I'll still
have to double-check old scripts, though.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden