#831888 qpdfview: fails to open files with invalid characters in the name

Package:
qpdfview
Source:
qpdfview
Description:
tabbed document viewer
Submitter:
Johannes Stezenbach
Date:
2022-01-17 20:18:05 UTC
Severity:
normal
#831888#5
Date:
2016-07-20 13:12:23 UTC
From:
To:
Dear Maintainer,

I have a few pdf files with filenames which are probably using some
Chinese encoding which is invalid when trying to interpret as UTF-8.
qpdfview can't open them, neither when passing the name on the
commandline nor when selecting the file in the Open File dialog.

A simple test to reproduce the issue, using bash and UTF-8 locale:

  cp test.pdf $'TEST\310.pdf'
  qpdfview TEST<tab>