Unicode crash on exporting to CSV
Reported by Virgil Dupras | September 8th, 2012 @ 08:12 PM
Application Name: dupeGuru
Version: 3.6.0
Traceback (most recent call last):
File "/usr/share/dupeguru_se/core/app.py", line 383, in export_to_csv
export.export_to_csv(dest_file, colnames, rows)
File "/usr/share/dupeguru_se/core/export.py", line 149, in export_to_csv
writer.writerow(row)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcfc' in
position 9: surrogates not allowed
Comments and changes to this ticket
-
Virgil Dupras September 8th, 2012 @ 08:14 PM
Surrogates again... I had a similar problem with #170, but xml.etree fixed it by itself. I should probably just remove these characters from exported paths, or something like that...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป