in reply to Correct line-feed characters to output to get MS Office to break new line?

Found it.

The text string was being passed via an html form, which the MS Office document's vba then read in. I was passing the string in a <input type="text"> form element, which was of course squashing out the line feeds.

Replacing that with a <textarea> form element that is meant to preserve line feeds solved the problem.

Had nothing to do with getting Perl to correctly output carriage returns for Windows.




Forget that fear of gravity,
Get a little savagery in your life.
  • Comment on Re: Correct line-feed characters to output to get MS Office to break new line?