diff --git a/pythonwhois/net.py b/pythonwhois/net.py index 53f87ba..43a7982 100644 --- a/pythonwhois/net.py +++ b/pythonwhois/net.py @@ -91,4 +91,4 @@ def whois_request(domain, server, port=43): if len(data) == 0: break buff += data - return buff.decode("utf-8") + return buff.decode("utf-8", 'ignore')