: =
=
"""Check a bytes string for a BOM to correctly detect the encoding
Fallback to locale.getpreferredencoding(False) like open() on Python3"""
return
# Lets check the first two lines as in PEP263
=
assert is not None
=
return
return