Bug 358289 - Okular not opens file in folders with accents or files with accents
Summary: Okular not opens file in folders with accents or files with accents
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.24.0
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-21 00:10 UTC by Víctor
Modified: 2017-07-20 15:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.