In order to restore my sanity I want to change the code so it uses utf8 everywhere and only converts to unicode on Windows when needed.