Author Technologov
Recipients Technologov, lemburg
Date 2008-02-16.22:27:35
SpamBayes Score 0.273022
Marked as misclassified No
Message-id <1203200857.03.0.727876581175.issue2131@psf.upfronthosting.co.za>
In-reply-to
Content
OK: try
filewr.write("abc"+"\n"+"abc")

The file will be generated with 7 bytes in it (must be 8, because
Windows has two-byte line-end).

Without using "codecs" modules, everything works fine, and the file will
have 8-bytes in it. (see 2nd example)

Plus, the text will be corrupted when opened with Windows Notepad.

-Technologov
History
Date User Action Args
2008-02-16 22:27:37Technologovsetspambayes_score: 0.273022 -> 0.273022
recipients: + Technologov, lemburg
2008-02-16 22:27:37Technologovsetspambayes_score: 0.273022 -> 0.273022
messageid: <1203200857.03.0.727876581175.issue2131@psf.upfronthosting.co.za>
2008-02-16 22:27:35Technologovlinkissue2131 messages
2008-02-16 22:27:35Technologovcreate