Re: Line endings -- UNIX/Linux vs. MS Windows

"Roderick A. Anderson" <[email protected]> Tue, 31 Aug 2004 08:29:47 -0700 (PDT)
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
Mark,

I have confirmed that the way I'm processing mailboxes is causing the MS 
line endings (CR LF) to be converted to UNIX line endings (NL).  I'm 
guessing that this happens whenever the mail box is written to.  So in one 
case I add a custom 'Header' and in the other case when a message is 
deleted (and therefore the mailbox is is rewritten?).

I have some more tests to do to determine if the problem is for Outlook
users (pop'in mail back) or if this explains some odd results I'm getting 
with Mozilla Mail and messages not being treated as text/html after the 
mailbox is accessed.
 
> I am not aware of any recent changes in that area, but know for sure that
> there are some nasty problems in the CRLF vs LF vs CR range.  Unless you
> can be more clear about the problems, I cannot help you.

I'm going to see what I need to do to make sure writes are done using MS 
conventions verses UNIX in the script itself rather than mucking around 
in the Mailbox settings.  Would this make sense?


Rod
-- 
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"