Merge pull request #201 from exarkun/issue-15

Re-add deprecated support for unicode in a variety of APIs.