elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.73k stars 753 forks source link

Windows 10 install errors: UnicodeDecodeError: 'charmap' codec can't decode byte #180

Closed bill-e-ghote closed 11 months ago

bill-e-ghote commented 1 year ago

On Windows 10 using Miniconda (Python 3.9.12), I was not able to install dnstwist until I added this to file open() calls in the source code: , encoding="utf8"

As described here: https://stackoverflow.com/questions/62463341/python-unable-to-start-in-virtual-environment-in-vs-code-unicodedecodeerror-c

I did not diff the before and after, but it worked for me.

elceef commented 1 year ago

I think the same issue has been described in #169.

elceef commented 1 year ago

Considering this might be a more common issue for Windows environments, UTF-8 encoding is now used by default. Could you please pull the most recent code and confirm it's working?

bill-e-ghote commented 7 months ago

My apologies for the rather long delay in responding. I cloned the repo again today and all is working as expected. Thanks you.