for Python 2.x set encoding to UTF-8