Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64116 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-01-17 11:14 +1100 |
| Last post | 2014-01-17 11:14 +1100 |
| 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: Guessing the encoding from a BOM Chris Angelico <rosuav@gmail.com> - 2014-01-17 11:14 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-01-17 11:14 +1100 |
| Subject | Re: Guessing the encoding from a BOM |
| Message-ID | <mailman.5612.1389917661.18130.python-list@python.org> |
On Fri, Jan 17, 2014 at 6:37 AM, Albert-Jan Roskam <fomcl@yahoo.com> wrote: > Can you elaborate on that? Unless your utf-8 files will only contain ascii characters I do not understand why you would not want a bom utf-8. It's completely unnecessary, and could cause problems (the BOM is actually whitespace, albeit zero-width, so it could effectively indent the first line of your source code). UTF-8 specifies the byte order as part of the protocol, so you don't need to mark it. ChrisA
Back to top | Article view | comp.lang.python
csiph-web