On Jul 16, 10:38 pm, ravi <[email protected]> wrote:
> But here the problem i am facing is csv file ouput is not in correct
> format. all rows data coming in single line.

That could be a text encoding issue.  The single line could be - for
example , but my guess - because you are on a Windows machine but
instead of creating \r\n newlines, your app is just creating \n .  You
also could not be escaping the newlines correctly -- i noticed your
error has the characters '\r\n'.

Newline in different operating systems:
\r\n = Windows
\n = Unix
\r = Mac

Read this page:

http://forums.codeguru.com/showthread.php?253826-C-String-What-is-the-difference-between-%5Cn-and-%5Cr%5Cn

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to