Unicode suggestion.

See the diff in the code for a suggestion regarding your apparent unicode problem.

Nice job making the code faster :)