Add default encoder for java.lang.Character

Fixes #53