When encoding character tags, also accept string designators.