That's probably Python problem
I had issues with 2.5 and 2.6 when trying to use multiple different CPs, but hopefully Python 3 and up, makes thing lot easier concerning code pages
However 'chcp 65001' always works in shell as anyone would expect - UTF-8
|