GNOME Bugzilla – Bug 765847
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 63: ordinal not in range
Last modified: 2016-05-01 18:31:51 UTC
Created attachment 327072 [details] Sample PDF file to reproduce this bug Steps to reproduce this bug: 1. Launch ocrfeeder (I've done this with 0.8.1) 2. File -> Import PDF, and import the attached PDF file. 3. Select all text 4. Choose the 'Tesseract' engine and press 'OCR' 5. File -> Export -> Plain Text, and choose an output file. Result: OCRFeeder doesn't save the text but it rather prints this error: Traceback (most recent call last):
+ Trace 236215
self.EXPORT_FORMATS[format][1])
name)
document_generator.save()
f.write(self.text.encode('utf-8'))
Hey! Thanks for the report Berto! I think I have fixed it now: https://git.gnome.org/browse/ocrfeeder/commit/?id=691f54618ed17a2553f154af07a6cfb4bf887e09
Awesome, that was fast! I tested the fix, it seems to work fine. Thanks!