Turn off detectEncoding during testing for windows