nedbat / scriv

Changelog management tool
https://scriv.readthedocs.io
Apache License 2.0
256 stars 28 forks source link

Ensure the changelog is in UTF-8 #31

Closed yhlam closed 3 years ago

yhlam commented 3 years ago

The default encoding may not be UTF-8, especially for Windows. The "—" between the date and version in the title may be encoded as non-UTF-8 character when different encoding is used, e.g. windows-1252.

nedbat commented 3 years ago

Thanks for this attention to detail. I've refactored the code, so these changes don't work any more, but I've remade them in #37.