[Okular-devel] [okular] [Bug 356359] New: Can't open documents with non-ascii filenames

Kiril Vladimiroff via KDE Bugzilla bugzilla_noreply at kde.org
Mon Dec 7 11:12:54 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=356359

            Bug ID: 356359
           Summary: Can't open documents with non-ascii filenames
           Product: okular
           Version: 0.23.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: kiril at vladimiroff.org

When I try to open a document named "име.pdf" I get the following error: "Could
not open /home/kiril/име.pdf" (see the attached screenshot). When I rename
the file using only ascii symbols, everything's fine.  Even though my locales
are strictly en_US.UTF8, it seems like Okular doesn't respect that.

Output from the command "locale":                                               
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

P.S.: I'm assuming this is an issue in Okular, because everything else in
cyrillic works just fine in other KDE applications (Plasma, Dolphin, Gwenview,
etc.).

Reproducible: Always

Steps to Reproduce:
1. Open a regular .pdf document with ascii-only symbols in its name with Okular
2. Rename it by using cyrillic symbols, like "тест.pdf" for example
3. Try to open it again with Okular

Actual Results:  
You get an error similar to "Could not open /home/.../.../ÑеÑÑ.pdf"

Expected Results:  
Document should simply be opened, regardless of the non-ascii symbols in its
name.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list