Fix Unicode handling interop with other clients.

Fixes #31
6.0.1