Fixed captcha issues with Unicode in Python 3.