Re-add @codecleaner’s unicode fix.

Refs #74. Apologies for breaking this again! Hopefully unbroken now.