Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

hitting "codec can't decode byte" errors in duplicate script #78

@Pomax

Description

@Pomax

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions