Portable way (Python 2+3) to read file as unicode, thanks to http://python-future.org/compatible_idioms.html#file-io-with-open
Portable way (Python 2+3) to read file as unicode, thanks to http://python-future.org/compatible_idioms.html#file-io-with-open

kaitai-io/kaitai_struct_python_runtime