Unicode bug fix

Fixes #38