So poethepoet will complain about a UTF-8 encoded envfile with non-ASCII characters on Windows. This creates a lot of annoyance. Please fix this, by either allowing the user to specify an encoding for envfile, or opening the envfile with UTF-8 encoding by default. Thank you.
Because the envfile is opened without an explicit encoding, the encoding used is platform-dependent: locale.getencoding() is called to get the current locale encoding, which is ANSI code page on Windows by the way.
So poethepoet will complain about a UTF-8 encoded envfile with non-ASCII characters on Windows. This creates a lot of annoyance. Please fix this, by either allowing the user to specify an encoding for envfile, or opening the envfile with UTF-8 encoding by default. Thank you.