Minor issue to get
Now it works on windows once again - an encoding still wasn't right.

Interestingly, this must have worked by happy accident on posix platforms,
which just don't do the check the python c code does on windows