You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a small program using schulze.compute_ranks, taking care of the header (-*- coding: utf-8 -*-) and writing into the output file using codecs.open("resultat.txt","w","utf-8"). I attach this file. In the output file, instead of UTF-8 data I get explicit bytes (as in u'r\xc3\xa9flexion/n:pens\xc3\xa9e/n' instead of u'réflexion/n:pensée/n'). Can this be fixed? Thanks in advance
I wrote a small program using schulze.compute_ranks, taking care of the header (
-*- coding: utf-8 -*-
) and writing into the output file usingcodecs.open("resultat.txt","w","utf-8")
. I attach this file. In the output file, instead of UTF-8 data I get explicit bytes (as inu'r\xc3\xa9flexion/n:pens\xc3\xa9e/n'
instead ofu'réflexion/n:pensée/n'
). Can this be fixed? Thanks in advancecompare-rankings.py.pdf
resultat.txt
The text was updated successfully, but these errors were encountered: