Line endings

S

Scott

re: Entourage 04
Hello. I'm having some trouble with an application that exports data to
email. Specifically, they're recipes.

Entourage doesn't seem to recognize line endings properly; in the new
message window, all of the lines run together when a recipe is exported
into a new mail message. It works just fine with Mail. Interestingly, if
I email the recipe to myself, the line endings are interpreted correctly
in the incoming mail.

I spoke with the author of the recipe application, and he guessed that
Entourage used a non-standard line-ending character sequence. In his
application (and, according to him, Unix and OS X), the standard line
ending character is the "newline" character (\n). He thinks that
Entourage uses either a carriage return, or a carriage return AND
newline.

1) is the interpretation correct?
2) is there any way to select an alternate method for line endings?
 
M

matt neuburg

Scott said:
re: Entourage 04
Hello. I'm having some trouble with an application that exports data to
email. Specifically, they're recipes.

Entourage doesn't seem to recognize line endings properly; in the new
message window, all of the lines run together when a recipe is exported
into a new mail message. It works just fine with Mail. Interestingly, if
I email the recipe to myself, the line endings are interpreted correctly
in the incoming mail.

I spoke with the author of the recipe application, and he guessed that
Entourage used a non-standard line-ending character sequence. In his
application (and, according to him, Unix and OS X), the standard line
ending character is the "newline" character (\n). He thinks that
Entourage uses either a carriage return, or a carriage return AND
newline.

1) is the interpretation correct?
2) is there any way to select an alternate method for line endings?

Pass the text through TextWrangler. It's now free and it does just what
you want (changes all the line endings from one type to another). m.
 
A

Allen Watson

Pass the text through TextWrangler. It's now free and it does just what
you want (changes all the line endings from one type to another). m.

Actually, Entourage uses the standard Mac line ending code: carriage
return. The newline is a Unix standard. TextWrangler is one option to
fix it. Another is Word Service, also free, from Devon Technologies:
http://www.devon-technologies.com/freeware.php

This puts an OS X Service in the application (Entourage) menu; it
includes about 32 text manipulation routines, many of which are useful
in "fixing" e-mail.
 
Top