fix encoding error in Polish locale on Windows
Merge pull request #1065 from katafrakt/utf8_in_redis_failure_fix

fix encoding error in Polish locale on Windows [1-x]