When running prerelease, I'm getting the same error as in #210, except the incorrect encoding comes from zest.releaser itself. I'm running it on Python 3.6.0 on a Windows machine, and the changelog is encoded as UTF-8. After the crash, the changes are left on the file, but encoded as cp1252.
The problem seems to be that zest.releaser simply ignores the encoding when writing text files on Python 3, which means the platform uses the default system encoding (obtained using locale).
When running
prerelease
, I'm getting the same error as in #210, except the incorrect encoding comes from zest.releaser itself. I'm running it on Python 3.6.0 on a Windows machine, and the changelog is encoded as UTF-8. After the crash, the changes are left on the file, but encoded ascp1252
.The problem seems to be that zest.releaser simply ignores the encoding when writing text files on Python 3, which means the platform uses the default system encoding (obtained using
locale
).