Fixed handling of Unicode chars in userinfo.
Fixed typo.
Merge pull request #46 from sideshowbarker/unicode-in-userinfo

Fixed handling of Unicode chars in userinfo.