Menu

#284 Non-English File Name is Not Handled from Double Click

djview
closed
nobody
None
5
2018-04-18
2017-11-22
Sergei G
No

Applies at least to

OS: Windows 10
DjView Version: 4.10.4 (DjVuLibre, Qt-4.8.1)

Steps to Reproduce

  1. Create a file. My file name was using Russian letters. It had ".djvu" file extension.
  2. In Windows Explorer double click on the file name.

Observed: a small windows window pops up and immediately dissapers. It appears to be empty, but it dissapears so quickly it is impossible to tell with any certainty.

Inspection of Windows event log produced no error. File extension ".djvu" is properly registered with the application (proven in work around).

There are no log files generated in obvious locations.

Another way to reproduce the issue is to use command line and to use command line version "ddjvu.exe" instead of "djview.exe". If "ddjvu" is started with full file name:

D:\...\DjVuLibre\ddjvu.exe D:\path\Русский-ыя.djvu

At this point I don't have exact log message, but that log message contains name of the file and it is obviously a guarbage, because it is in the fomr "D:\path\?????-??.jdvu".

Expected behaviour

DjView application is started and data file is displayed.

Actual behaviour

A quick flash and there is nothing happens after that. No application is started.

Workaround

Rename file to use only English letters.

Double click on the file in Explorer and it opens the file in DjView application.

Discussion

  • Leon Bottou

    Leon Bottou - 2017-11-22

    What is the error message for ddjvu?

    What is the output of command "chcp" in a console window?

    What is the default locale code page for your computer? Procedure below
    open Control Panel,
    go to Clock, Language, and Region,
    select Region,
    select Administrative,
    check what's under Language for non-Unicode programs...

     
  • Leon Bottou

    Leon Bottou - 2018-04-18
    • status: open --> closed
     
  • Leon Bottou

    Leon Bottou - 2018-04-18

    Requested information not provided.

     

Log in to post a comment.

MongoDB Logo MongoDB