Simplify things due to use of Unicode literals
Avoid crash on Python 2.6