Fix encoding issues with FreeTranslate.

This closes #24. I think.