Fixed a minor unicode-related bug

Can you please review, and if it's okay, merge and issue a new release. Thanks