Revert "Switch to binary encoding"

This reverts commit bb0066a0c41278d3074186d24d20ed5b5926d160.
Revert "utf-8 stragglers"

This reverts commit 569be9e471363f36c60bec724ae9a880466ce311.