open() alternative which respects Unicode BOM
Project description
# bom_open open() alternative which respects Unicode BOM
Open a file. If reading in text mode and BOM is present, switch to specified Unicode encoding. Unlike normal open(), always write BOM, even for utf-8 mode.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bom_open-0.2.0.tar.gz
(2.4 kB
view hashes)