unichr doesn't exitst in py3. use PY2 to select ccorrect chr.
Merge pull request #1834 from matham/master

unichr doesn't exist in py3. use PY2 to select correct chr.