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
On 2017-10-09 19:49, lp...@centrum.cz wrote: > I can confirm that this helped resolve the issue. Thank you very much! > Leos You're welcome. Thanks for the confirmation that this solved the issue! @Máximo: Do you still have the issue with Okular not being able to open PDF files if the path contains accents? Do the steps described below possibly also fix the problem for you? > Can you please try the following: > > * open a terminal > * run the following command there: "sudo dpkg-reconfigure locales" > * select "cs_CZ.UTF-8" and confirm so that the respective locale is > generated > > (There may be ways to generate the locales using the graphical user > interface instead, but that depends on the specific desktop environment > in use. Please let me know in case the above steps are not clear enough.) > Instead of selecting "cs_CZ.UTF-8", that might be something else in your case. Can you possibly post the output you get when you type the command "locale" on the command line? Regards, Michael
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 can confirm that this helped resolve the issue. Thank you very much! Leos __ > Od: Michael Weghorn> Komu: lp...@centrum.cz, 860...@bugs.debian.org > Datum: 05.10.2017 22:25 > Předmět: Re: Bug#860360: okular: I can confirm the bug with czech accents. > Thanks for the additional information. As far as I understand it so far, this is not really an Okular problem, but one of your locale settings. Can you please try the following: * open a terminal * run the following command there: "sudo dpkg-reconfigure locales" * select "cs_CZ.UTF-8" and confirm so that the respective locale is generated (There may be ways to generate the locales using the graphical user interface instead, but that depends on the specific desktop environment in use. Please let me know in case the above steps are not clear enough.) Regards, Michael On 2017-10-05 18:21, lp...@centrum.cz wrote: > > 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 >> Komu: Leoš Pohl , 860...@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 >
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
Thanks for the additional information. As far as I understand it so far, this is not really an Okular problem, but one of your locale settings. Can you please try the following: * open a terminal * run the following command there: "sudo dpkg-reconfigure locales" * select "cs_CZ.UTF-8" and confirm so that the respective locale is generated (There may be ways to generate the locales using the graphical user interface instead, but that depends on the specific desktop environment in use. Please let me know in case the above steps are not clear enough.) Regards, Michael On 2017-10-05 18:21, lp...@centrum.cz wrote: > > 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>> Komu: Leoš Pohl , 860...@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 >
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> Komu: Leoš Pohl , 860...@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