When encoding character tags, also accept string designators.
Merge pull request #11 from pcostanza/more-flexible-character-tags

When encoding character tags, also accept string designators.