Bug 358289

Summary: Okular not opens file in folders with accents or files with accents
Product: [Applications] okular Reporter: Víctor <vmorenomarin>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: m.weghorn, vmorenomarin
Priority: NOR    
Version: 0.24.0   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:

Description Víctor 2016-01-21 00:10:59 UTC
When i try open a file contained in a folder which name have accents, or the name file has accents, Okular can not opens the file and displays a dialog with the text "Could not open /home/victor/Programación/Coursera/book_272_es4.pdf" (in this example, the folder with accents is "Programación/"). 

When i try open the file book_272_es4.pdf contained in /home/victor/Programación/Coursera/ through the Okular via Menu bar > File > Open, the file is opened correctly.

Reproducible: Always

Steps to Reproduce:
1. Select file in folder with accents (or select file with accents in its name) click
2. Click in the file for open with Okular
3. Is showed a dialog.

Actual Results:  
The file does not opened with a click directly over it. It is opened correctly through the menu bar of Okular.

Expected Results:  
The file is opened without troubles.

The bug is also present when I try open the file in the depicted conditions (accents in the container folder or accents in the name of the file) with other pdf reader, like qpdfview.
Comment 1 lehmax 2016-06-15 08:40:17 UTC
I'm having the same problem, but with German characters (äöü).
Comment 2 Michael Weghorn 2017-07-20 14:06:43 UTC
I just tried to reproduce the issue on a current KDE neon but was unable to do so.

What I did:

1) put some PDF file under a path like yours: '$HOME/Programación/Coursera/book_272_es4.pdf'
2) Open the directory in Dolphin (KDE's file manager)
3) Open the PDF file by double-clicking on it.

For me, the file opened fine and was displayed in Okular as expected.

I am not sure whether the steps I took are exactly the same ones that 
you took.
Can you possibly give some more information about that?

Are you also using Dolphin (KDE's file manager) or possibly another file 
manager?

What distribution and what version are you using?

What is the output of the command 'locale'?
Comment 3 Michael Weghorn 2017-07-20 14:35:05 UTC
Bug 351670 might describe the same issue.