[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#860360: okular: I can confirm the bug with czech accents. Create a folder with accents, place a pdf file inside, cannot open the pdf from Dolphin. If immediately try to open from okular, the p




I have more details. In my case, I had in System settings -> Regional settings -> Formats:
Region: United States - American English (en_US)
Detailed settings enabled and time format set to Czech (cs_CZ). With this particular settings I can reproduce the problem plus I get the errors with locale. Once I switch this settings to "No change" are logout and log back in, Okular opens pdf files in a path with accents without a problem. I have confirmed it twice.

 

The locale outputs with the time set to "No change":

LANG=en_US.UTF-8
LANGUAGE=
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=

 and this is the output of locale when I change time format to czech (with region en_US):

locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=cs_CZ.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=

 

Leos

 

______________________________________________________________
> Od: Michael Weghorn <m.weghorn@posteo.de>
> Komu: Leoš Pohl <lpohl@centrum.cz>, 860360@bugs.debian.org
> Datum: 04.10.2017 21:18
> Předmět: Re: Bug#860360: okular: I can confirm the bug with czech accents.
>
Hi Leoš,

thanks for reporting that you also have this issue.

On 2017-10-04 18:42, Leoš Pohl wrote:
>
> -- debconf information:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "",
> LC_ALL = (unset),
> LC_TIME = "cs_CZ.UTF-8",
> LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
> locale: Cannot set LC_ALL to default locale: No such file or directory
>

The above output indicates that something seems to be wrong with your
locale settings.

Can you please post the output of the command "locale"?

Does the problem go away if the respective locales are generated?
You can have them generated by running the command "dpkg-reconfigure"
(with root privileges) and selecting the corresponding locales. (The
above output suggests that those are "cs_CZ.UTF-8" and "en_US.UTF-8" in
your case.)


Regards,
 Michael


Reply to: