I'm trying to use the duplicate.py script on Windows 10 to perform a plugin duplication, and while this runs fine for the most part, it hits a point where things go horribly wrong because the duplicate script has not been told which encoding to use for files, so it's just going on "whatever the OS is doing", which in Windows is traditionally cp1252, causing problems if the file input is assumed utf8.
Would it be possible to update the duplicate.py script so that it explicitly tells python how to de/encode files?