On 27-Mar-2003 Jeff Zucker wrote:
> [EMAIL PROTECTED] wrote:
>
>>"\n" => "\r\n" in windows env.
>>
> LOL. How can something be equal to itself plus something else? And the
> "windows env" is not a monolithic thing, its behaviour can be modified
> by binmode.
>
> A better way to say it is: "\n" is written as "\015\012" in a windows
> environment if the filehandle has not been binmoded.
..It was a quick response, indicating that windows (without binmode)
(treats | represents | writes) "\n" as a "\r\n" not just a "\r".
I used "\r\n" because it is easier to type :-). If I am telling
someone that dos uses treats "\n" as a "\r\n", I am going to write
that or say carriage return-newline( or line feed) and not "\015\012".
...so in conclusion, Yes your answer was more complete.
>
> However in any environment '\n' is written as a backslash and the letter
> n. The OP has apparently somehow stuck his "\n"s inside single quotes
> and made them literals. I doubt very much that DBD::mysql::quote() does
> that, so it must be happening somewhere else in the OP's code.
>
> --
> Jeff.
>
----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 27-Mar-2003
Time: 11:13:27
----------------------------------