Correctly support unicode in parser

Hello dreid,

I'm sorry to hear that you're feeling unwell, and hope that these patches can provide you with a warmth and amusement that speeds your recovery. After all, nothing cheers the heart like unicode fixes.

Kind regards,
jml