Universal encoding detector for Python 3
