diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-06-19 20:07:51 +0000 |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-06-19 20:07:51 +0000 |
commit | 92b550cdd854f27ba49fbdab4fc001e9ab7717c2 (patch) | |
tree | 8f74b0feabc1de444a06df73fce34b71b25f4461 /Python/sysmodule.c | |
parent | 8c78d3a5d1225e986805925e13508a5339271e2a (diff) | |
download | cpython-git-92b550cdd854f27ba49fbdab4fc001e9ab7717c2.tar.gz |
This patch by Martin v. Loewis changes the UTF-16 codec to only
write a BOM at the start of the stream and also to only read it as
BOM at the start of a stream.
Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP
character. This is in sync with the Unicode specifications.
Note that UTF-16 files will now *have* to start with a BOM mark
in order to be readable by the codec.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions