From 4596f7121eb8edcd4479a9a33c7721a2aff274f8 Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Sat, 5 Jan 2019 20:39:56 -0600 Subject: [PATCH] =?UTF-8?q?Specify=20the=20encoding=20to=20be=20UTF-8=20fo?= =?UTF-8?q?r=20the=20csv=20file.=20=20The=20Raj=C4=8De.net=20site=20was=20?= =?UTF-8?q?causing=20this=20to=20fail.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sherlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock.py b/sherlock.py index e5146aec..a2434568 100644 --- a/sherlock.py +++ b/sherlock.py @@ -359,7 +359,7 @@ def main(): results = sherlock(username, verbose=args.verbose, tor=args.tor, unique_tor=args.unique_tor) if args.csv == True: - with open(username + ".csv", "w", newline='') as csv_report: + with open(username + ".csv", "w", newline='', encoding="utf-8") as csv_report: writer = csv.writer(csv_report) writer.writerow(['username', 'name',