[Okular-devel] [Bug 195288] New: Okular doesn't open document archives with cyrillic filenames

wyldrodney wyldrodney at gmail.com
Fri Jun 5 02:40:35 CEST 2009


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 at kde.org
        ReportedBy: wyldrodney at 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:

wyldrodney at desktop ~ $ file Архитектура.okular 
Архитектура.okular: Zip archive data, at least v2.0 to extract
wyldrodney at 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: Архитект                                                  
wyldrodney at desktop ~ $ cp Архитектура.okular Arch.okular               
wyldrodney at desktop ~ $ file Arch.okular                                
Arch.okular: Zip archive data, at least v2.0 to extract
wyldrodney at 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: Архитект
wyldrodney at 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.


More information about the Okular-devel mailing list