Package: pdftk
Version: 1.41-3
Severity: normal

pdftk fails to open files with unicode characters in their names:

lapse:~|master|% pdftk fü.pdf cat 1-end output - > /dev/null
Error: Failed to open PDF file: 
   fü.pdf

Relevant strace:

access("/home/madduck/f\303\203\302\274.pdf", F_OK) = -1 ENOENT (No such file 
or directory)
access("/home/madduck/f\303\203\302\274.pdf", F_OK) = -1 ENOENT (No such file 
or directory)
access("/home/madduck/f\303\203\302\274.pdf", F_OK) = -1 ENOENT (No such file 
or directory)
write(2, "Error: Failed to open PDF file: "..., 32Error: Failed to open PDF 
file: ) = 32

It seems like it's double-encoding the filename.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdftk depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-1  GCC support library
ii  libgcj8-1                     4.2.4-4    Java runtime library for use with 
ii  libstdc++6                    4.3.2-1    The GNU Standard C++ Library v3

pdftk recommends no packages.

Versions of packages pdftk suggests:
ii  poppler-utils [xpdf-utils]    0.8.7-1    PDF utilitites (based on libpopple

-- no debconf information


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to