Normalize encoding label
Merge pull request #25 from redolent/master

Fixed issue with 4-byte characters not being written properly