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

Eugene Shalygin via KDE Bugzilla bugzilla_noreply at kde.org
Tue Jan 19 14:03:25 UTC 2016


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

Eugene Shalygin <eugene.shalygin+bugzilla.kde at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eugene.shalygin+bugzilla.kd
                   |                            |e at gmail.com

--- Comment #12 from Eugene Shalygin <eugene.shalygin+bugzilla.kde at gmail.com> ---
I have very same problem on two machines. Both have complex locale settings.
The first one runs Gentoo and the second one runs ArchLinux. Locale settings
are identical: 
$ cat /etc/locale.conf 
LANG=uk_UA.UTF-8
LC_NUMERIC=C
LC_COLLATE=C
LC_MONETARY=en_IE.UTF-8 at euro
LC_MESSAGES=C
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8

Once I enable "Detailed Settings" in the Formats KCM, Okular is unable to open
files with non ASCII characters in names. However, I do not think that this is
problem of Okular, since LibreOffice shows the same problem (can't open nor via
kde-open nor via its File|Open menu). The only difference is that in error
messages where they inform user about the problem Libre Office shows correct
file name, while Okular shows characters in encoding which I can't even guess
instead of non-ASCII letters. 

So, I think Formats KCM does something wrong to locale settings. When I set
there my settings from /etc/locale.conf, locale shows:
$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=uk_UA.UTF-8
LC_CTYPE="uk_UA.UTF-8"
LC_NUMERIC=C
LC_TIME="uk_UA.UTF-8"
LC_COLLATE=C
LC_MONETARY=en_IE.UTF-8
LC_MESSAGES=C
LC_PAPER=de_DE.UTF-8
LC_NAME="uk_UA.UTF-8"
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT="uk_UA.UTF-8"
LC_IDENTIFICATION="uk_UA.UTF-8"
LC_ALL=

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


More information about the Okular-devel mailing list