Workarounds for UTF8 on Windows