Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54688 > unrolled thread
| Started by | Peter Otten <__peter__@web.de> |
|---|---|
| First post | 2013-09-24 13:06 +0200 |
| Last post | 2013-09-24 13:06 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: removing BOM prepended by codecs? Peter Otten <__peter__@web.de> - 2013-09-24 13:06 +0200
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Date | 2013-09-24 13:06 +0200 |
| Subject | Re: removing BOM prepended by codecs? |
| Message-ID | <mailman.292.1380020774.18130.python-list@python.org> |
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.
Back to top | Article view | comp.lang.python
csiph-web