[New-bugs-announce] [issue1328] feature request: force BOM option

James G. sack (jim) report at bugs.python.org
Fri Oct 26 00:59:36 CEST 2007

New submission from James G. sack (jim):

The behavior of codecs utf_16_[bl]e is to omit the BOM.

In a testing environment (and perhaps elsewhere), a forced BOM is useful.
I'm requesting an optional argument something like

I guess it would require such an option in multiple function calls, sorry I 
don't know enough to itemize them.

If this is implemented, it might be desirable to think about the aliases 
like unicode*unmarked.


components: Unicode
messages: 56759
nosy: jgsack
severity: minor
status: open
title: feature request: force BOM option
type: behavior
versions: Python 2.5

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list