On 02/16/04 08:18, Trevor Goddard wrote:
The example I gave you is one occasion where this problem happens. We have a
live system which does the "=<CR><LF>", what I really want is to be able to
setup my system (and other systems) so they are exactly the same as the live
system. Then I will be able to develop/debug code prior to putting the
changes live.

So whilst what you say is possible, I can't guarantee to find everywhere
where the substitution is needed.

Thanks, but any further ideas are welcome
Trevor

Can you reduce your script to a small example that demonstrates the problem? It's hard to pin-point where the problem is introduced if it's as intermittent as you say; especially, without seeing some code.


Regards,
Randy.


-----Original Message-----
From: Gisle Aas [mailto:[EMAIL PROTECTED]
Sent: 16 February 2004 13:11
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: CRLF configuration problem (I think)

"Trevor Goddard" <[EMAIL PROTECTED]> writes:


I am trying to encode strings in quoted printable format using the
MIME::QuotedPrint package. If call encode_qp() with a string longer than

76


characters then the function will add in "=<CR><LF>" to split the lines

into


shorter versions, well that is what I want it to do.

However, on my machine (and some others) I don't get the lines split with
"=<CR><LF>" but with "=<LF>".


Newer versions of MIME::QuotedPrint allow you to pass the end-of-line
sequence to use as argument to encode_qp().  If your version can't do
this and upgrading is not an option then you need to do your own
s/\n/\015\012/g on the result.

Regards,
Gisle Aas,
ActiveState


_______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to