sioyek icon indicating copy to clipboard operation
sioyek copied to clipboard

bugfix - fixes utf8 exception in detect_paper_name

Open aw-cloud opened this issue 2 months ago • 2 comments

Fixes #1411 utf8_decode called from detect_paper_name can throw, in particular when given invalid utf8. Adds a try / catch block in the calling function to account for this possibility. Behaviour is that invalid utf8 causes the paper name to be left blank and an error message is logged to stderr.

aw-cloud avatar Oct 27 '25 02:10 aw-cloud