J. Bagg wrote:

> I'm having trouble with the BOM that is now prepended to codecs files.
> The files have to be read by java servlets which expect a clean file
> without any BOM.
> 
> Is there a way to stop the BOM being written?

I think if you specify the byte order explicitly with "UTF-16-LE" or 
"UTF-16-BE" no BOM is written.


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to