Peter Bloomfield
  • Blog
  • About me
  • Contact me
Tagged

utf-16

A collection of 1 post

python

Why Python 3 doesn't write the Unicode BOM

Python doesn't always output a Unicode Byte Order Mark. This can cause problems for programs which expect to see it. This post outlines when and why Python doesn't output the BOM, and how to fix it.

Peter Bloomfield © 2008-2022
  • Privacy policy
Powered by Ghost