[Python-3000] BOM handling
Jason Orendorff
jason.orendorff at gmail.com
Thu Sep 14 22:53:58 CEST 2006
For what it's worth: in .NET, everything defaults to UTF-8, whether
reading or writing. No BOM is generated when creating a new file.
http://msdn2.microsoft.com/en-us/library/system.io.file.createtext.aspx
Java defaults to a "default character encoding", which on Windows is
the system's ANSI encoding.
http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStreamWriter.html
Neither correctly reads the other's output. Pick your poison.
-j
More information about the Python-3000
mailing list