Re: Support of CR LF in a EBCDIC environment

1999-11-15 Thread Stas Bekman
Dear list readers - I'm working with the following environment: BS2000-Posix as O.S. Perl-5.005_54 Apache-1.3.9 Mod_perl-1.21 BS2000-Posix has the EBCDIC as character set, both Apache-1.3.9 and perl-5.005_54 are ported to support EBCDIC code. I installed Apache with mod_perl

RE: Support of CR LF in a EBCDIC environment

1999-11-15 Thread Eric Cholet
I'm not familiar with EBCDIC, but in Perl \r and \n are platform dependent, you migh want to try the platform independent \015 (cr) and \012 (lf). [EMAIL PROTECTED] wrote: Dear list readers - I'm working with the following environment: BS2000-Posix as O.S. Perl-5.005_54 Apache-1.3.9

RE: Support of CR LF in a EBCDIC environment

1999-11-15 Thread ignasi . roca
Your proposal works. Then, how to solve "the problem with "\n\n" ? To be compatible It should also work. This example would work only if you have PerlSendHeader set to 'On' in the config file. Is it On? May be this is not a problem "\r\n", if this is your case

RE: Support of CR LF in a EBCDIC environment

1999-11-15 Thread Stas Bekman
Your proposal works. which one did work for you: PerlSendHeader On or $r-send_http_header? Then, how to solve "the problem with "\n\n" ? To be compatible It should also work. This example would work only if you have PerlSendHeader set to 'On' in the config file. Is it

RE: Support of CR LF in a EBCDIC environment

1999-11-15 Thread ignasi . roca
Your proposal works. which one did work for you: PerlSendHeader On or $r-send_http_header? In my first try with the print "Content-type: text/html\r\n\r\n" I had the "PerlSendHeader On" and the content-type of the response was "text/plain". In the second try with "$r-send_http_header" I

RE: Support of CR LF in a EBCDIC environment

1999-11-15 Thread Stas Bekman
which one did work for you: PerlSendHeader On or $r-send_http_header? In my first try with the print "Content-type: text/html\r\n\r\n" I had the "PerlSendHeader On" and the content-type of the response was "text/plain". In the second try with "$r-send_http_header" I removed the