Bug 157414 - Can't open a file if the filename has a fada in it for example útest.pdf
Summary: Can't open a file if the filename has a fada in it for example útest.pdf
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 12:51 UTC by Fintan MacMahon
Modified: 2008-03-27 20:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fintan MacMahon 2008-02-08 12:51:53 UTC
Version:           0.6 (using KDE 4.0.0)
Installed from:    Gentoo Packages
Compiler:          x86_64-pc-linux-gnu-4.1.2 x86_64-pc-linux-gnu-4.1.2
OS:                Linux

Hi 

I'm trying to open a pdf with okular. The pdf file name has fadas in it. 
Okular states could not open file. Thanks

    fintan.
Comment 1 Pino Toscano 2008-02-08 13:04:39 UTC
Works here.
Comment 2 Albert Astals Cid 2008-02-08 19:30:34 UTC
which poppler version do you use?
Comment 3 Fintan MacMahon 2008-02-10 16:53:19 UTC
Sorry for not getting back sooner. 

[I] app-text/poppler
     Available versions:  0.5.3 0.5.4 0.5.4-r1 0.5.4-r2 ~0.6 ~0.6.1 0.6.1-r1 ~0.6.2 ~0.6.3 {cjk jpeg zlib}
     Installed versions:  0.6.1-r1(10:03:33 11/29/07)(jpeg zlib -cjk)
     Homepage:            http://poppler.freedesktop.org/
     Description:         PDF rendering library based on the xpdf-3.0 code base

[I] app-text/poppler-bindings
     Available versions:  0.5.3 0.5.4 ~0.6 0.6.1 ~0.6.2 ~0.6.3 {cairo gtk qt3 qt4 test}
     Installed versions:  0.6.1(10:24:26 11/29/07)(cairo gtk qt3 qt4 -test)
     Homepage:            http://poppler.freedesktop.org/
     Description:         rendering bindings for GUI toolkits for poppler

I don't have qt built with the debug flag. It'll be tomorrow before I get the chance. 
Comment 4 Pino Toscano 2008-02-26 22:12:33 UTC
Does this problem happens with other kind of documents with the same character(s) in them? Or only with .pdf?
Comment 5 Fintan MacMahon 2008-03-02 19:58:46 UTC
I've rebuilt qt and okular with debugging enabled. I haven't got a chm or djvu file handy so I can't test them. It seems to be only for pdf's. Here's the output of locale

LANG=en_IE@euro
LC_CTYPE="en_IE@euro"
LC_NUMERIC="en_IE@euro"
LC_TIME="en_IE@euro"
LC_COLLATE="en_IE@euro"
LC_MONETARY="en_IE@euro"
LC_MESSAGES="en_IE@euro"
LC_PAPER="en_IE@euro"
LC_NAME="en_IE@euro"
LC_ADDRESS="en_IE@euro"
LC_TELEPHONE="en_IE@euro"
LC_MEASUREMENT="en_IE@euro"
LC_IDENTIFICATION="en_IE@euro"
LC_ALL=en_IE@euro

When I start okular from the command line.
okular s800í0363.pdf
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

It could be just the pdf I'm using. Thanks
Comment 6 Tobias Koenig 2008-03-06 15:25:27 UTC
Hej,

could you send us a document for testing, please?

Ciao,
Tobias
Comment 7 Fintan MacMahon 2008-03-27 19:28:17 UTC
Hi I've just upgraded to 4.0.2. It seems to have fixed my problem. Sorry for wasting your time. ;-)
Thanks

     fintan
Comment 8 Albert Astals Cid 2008-03-27 20:50:55 UTC
User said works for him, closing