Closed GoogleCodeExporter closed 9 years ago
You need to pass in the 'b' option to open() in order to save the file as
binary. If you don't do this, windows will helpfully turn all of your '\n'
characters into '\r\n' when saved to the file, resulting in invalid bencoding.
Original comment by arvid.no...@gmail.com
on 17 May 2013 at 3:42
Thank you for your suggestion. It solved my problem.
I put 'b' option in read command but forget to put 'b' in write command. Silly
mistake :(
Original comment by umars...@gmail.com
on 20 May 2013 at 2:09
Original comment by arvid.no...@gmail.com
on 20 May 2013 at 3:02
Original issue reported on code.google.com by
umars...@gmail.com
on 17 May 2013 at 8:37Attachments: