| author | Richard Penman |
| Thu, 17 Mar 2016 15:37:34 +0100 | |
| changeset 82 | fc40924ac59b |
| parent 81 | 359baebcf0e8 |
| child 83 | a0a0ae15499b |
| child 87 | 0f12faf57d33 |
| child 90 | f1bcf8940a97 |
| child 92 | 7d3efe9ad172 |
| child 94 | 4466b5b65881 |
| whois/whois.py | file | annotate | diff | comparison | revisions |
--- a/whois/whois.py Wed Mar 16 15:18:36 2016 +0100 +++ b/whois/whois.py Thu Mar 17 15:37:34 2016 +0100 @@ -120,7 +120,7 @@ return '' else: nhost = None - response = response.decode('utf-8') + response = response.decode('utf-8', errors='replace') if b'with "=xxx"' in response: return self.whois(query, hostname, flags, True) if flags & NICClient.WHOIS_RECURSE and nhost is None: