This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients Cees.Timmerman, amaury.forgeotdarc, ezio.melotti, vstinner
Date 2014-12-05.10:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417775761.95.0.453660903605.issue22999@psf.upfronthosting.co.za>
In-reply-to
Content
Better use utf-16-le encoding:
  len(data.encode('utf-16-le')) + 2
otherwise the encoded bytes start with the \fffe BOM.
History
Date User Action Args
2014-12-05 10:36:01amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner, ezio.melotti, Cees.Timmerman
2014-12-05 10:36:01amaury.forgeotdarcsetmessageid: <1417775761.95.0.453660903605.issue22999@psf.upfronthosting.co.za>
2014-12-05 10:36:01amaury.forgeotdarclinkissue22999 messages
2014-12-05 10:36:01amaury.forgeotdarccreate