Now using utf-8 decoding for compatibility with Python 3.x