make error message accept unicode
Merge pull request #75 from dimagi/unicode-fix

make error message accept unicode