RedditRefresh
RedditRefresh copied to clipboard
UnicodeEncodeError: 'charmap' codec can't encode characters
https://github.com/karan51ngh/RedditRefresh/blob/de09d6dec83f218d280014b11a4efdb8e9477304/delete.py#L20
I suggest adding UTF-8. It crashed for me with the error mentioned in the title when reaching certain comments in non-english language.
file = open("LOGS.md", "a+", encoding="utf-8")
Otherwise it works great. Thanks.