commit 097bb441357dc78bf2bfe02ca7416dda235f98e8
parent ce3f366148ab56e1c3821ba5fadcd7f566029434
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Wed, 4 Jan 2017 12:34:58 -0800
add compatibility for unicode characters in bibtex entry
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/scholarref.py b/bin/scholarref.py
@@ -69,4 +69,4 @@ bibtex = bibtex.strip()
if bibtex.find('<!DOCTYPE html>') != -1:
sys.stderr.write('Entry not found\n')
else:
- print(bibtex)
+ print(bibtex.encode('utf-8'))