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

           Summary: Okular doesn't open document archives with cyrillic
                    filenames
           Product: okular
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel@kde.org
        ReportedBy: wyldrod...@gmail.com


Version:           0.8.80 (using 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527)),
Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.29-zen1

1) Open any djvu document.
2) Export to "document archive" with cyrillic  filename(Архитектура.okular, for
example)
3) Try to open Архитектура.okular. It shows "Невозможно открыть файл(Can't open
file) file:///home/wyldrodney/Архитектура.okular".
4) Export source djvu with latin filename (Arch.okular, for example). It works.

* Renaming doesn't makes it work.
* That isn't correct zip archive, I mean:

wyldrod...@desktop ~ $ file Архитектура.okular 
Архитектура.okular: Zip archive data, at least v2.0 to extract
wyldrod...@desktop ~ $ unzip Архитектура.okular               
Archive:  Архитектура.okular                                  
error:  expected central file header signature not found (file #3).
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)   
  inflating: content.xml                                               
Архитект:  mismatching "local" filename (Архитектура.djvu),            
         continuing with "central" filename version                    
  inflating: Архитект                                                  
wyldrod...@desktop ~ $ cp Архитектура.okular Arch.okular               
wyldrod...@desktop ~ $ file Arch.okular                                
Arch.okular: Zip archive data, at least v2.0 to extract
wyldrod...@desktop ~ $ unzip Arch.okular
Archive:  Arch.okular
error:  expected central file header signature not found (file #3).
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
replace content.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: content.xml
Архитект:  mismatching "local" filename (Архитектура.djvu),
         continuing with "central" filename version
  inflating: Архитект
wyldrod...@desktop ~ $

I'll send debuginfo later.

P.S. I'm using ru_RU.UTF-8 locale.

P.P.S. Same problem on OpenSUSE 11.1

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to