"Xah Lee" <[EMAIL PROTECTED]> wrote:
> Why is that some of my files written out by
> outF.write(outtext.encode('utf-8'))
> has ascii 10 as EOL, while others has ascii 13 as EOL?
> outF = open(tempName,'wb')
> outF.write(outtext.encode('utf-8'))
> outF.close()
UTF-8 is not a binary format. get rid of the "b" flags, and things
will work as expected.
</F>
--
http://mail.python.org/mailman/listinfo/python-list
