• 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: Mac vs unix Carriage returns on a text file format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac vs unix Carriage returns on a text file format


  • Subject: Re: Mac vs unix Carriage returns on a text file format
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 3 Apr 2005 20:56:30 -0600

>The two other unicode line endings, are you talking about U+2028 (line separator) and U+2029 (paragraph separator)?
>
>Do you have any idea why applescript treats these two line endings differently?

<pureguess>

There is older lore about soft and hard returns which I think came about with 5 inch floppies and real typewriters which didn't do word wrapping very well.

Teletypewriters interpreted a line feed as solely vertical motion and a return as solely horizontal. One needed both to get the effect of the return bar of a typewriter. (One also needed nulls for timing considerations and you could overwrite a line using a return only.)

So. . .U+2028 (line separator) makes a new line that is not a new paragraph.

</pureguess>

AppleScript may have it right.

--

--> Life begins at ovulation. Ladies should endeavor to get every young life fertilized. <--
 _______________________________________________
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: Mac vs unix Carriage returns on a text file format
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Mac vs unix Carriage returns on a text file format (From: bill <email@hidden>)

  • Prev by Date: Re: Mac vs unix Carriage returns on a text file format
  • Next by Date: Use System Events to crash your favourite script editor :-(
  • Previous by thread: Re: Mac vs unix Carriage returns on a text file format
  • Next by thread: Re: Mac vs unix Carriage returns on a text file format
  • Index(es):
    • Date
    • Thread