Bug#422346: xpdf: utf-8 characters in pdf file name not correctly displayed in the window title bar

2007-05-05 Thread berti
Package: xpdf-reader
Version: 3.01-9
Severity: normal


I'm using utf-8 locale and I've some pdf files with non-ascii characters in the 
filename (such as
/tmp/ééé.pdf). When this file is opened with xpdf, the window title should be 
the filename. But the 
non-ascii characters are not correctly rendered ("Xpdf: ééé.pdf"). 

There is the same problem if I used directly the "-title" option to set the 
window title. Others programs 
are able to set utf-8 characters in the title window, so it should not a window 
manager bug.



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-486
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)

Versions of packages xpdf depends on:
ii  xpdf-common   3.01-9 Portable Document Format (PDF) sui
ii  xpdf-reader   3.01-9 Portable Document Format (PDF) sui
ii  xpdf-utils3.01-9 Portable Document Format (PDF) sui

xpdf recommends no packages.

Versions of packages xpdf-reader depends on:
ii  gsfonts   1:8.11+urwcyr1.0.7~pre41-1 Fonts for the Ghostscript interpre
ii  lesstif2  1:0.94.4-2 OSF/Motif 2.1 implementation relea
ii  libc6 2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libfreetype6  2.2.1-5FreeType 2 font engine, shared lib
ii  libgcc1   1:4.1.1-21 GCC support library
ii  libice6   1:1.0.1-2  X11 Inter-Client Exchange library
ii  libpaper1 1.1.21 Library for handling paper charact
ii  libsm61:1.0.1-3  X11 Session Management library
ii  libstdc++64.1.1-21   The GNU Standard C++ Library v3
ii  libt1-5   5.1.0-2Type 1 font rasterizer library - r
ii  libx11-6  2:1.0.3-7  X11 client-side library
ii  libxext6  1:1.0.1-2  X11 miscellaneous extension librar
ii  libxp61:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii  libxpm4   1:3.5.5-2  X11 pixmap library
ii  libxt61:1.0.2-2  X11 toolkit intrinsics library
ii  xpdf-common   3.01-9 Portable Document Format (PDF) sui
ii  zlib1g1:1.2.3-13 compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#422346: xpdf: utf-8 characters in pdf file name not correctly displayed in the window title bar

2007-05-05 Thread Hamish Moffatt
On Sat, May 05, 2007 at 11:48:04AM +0200, berti wrote:
> Package: xpdf-reader
> Version: 3.01-9
> Severity: normal
> 
> 
> I'm using utf-8 locale and I've some pdf files with non-ascii characters in 
> the filename (such as
> /tmp/ééé.pdf). When this file is opened with xpdf, the window title should be 
> the filename. But the 
> non-ascii characters are not correctly rendered ("Xpdf: ééé.pdf"). 
> 
> There is the same problem if I used directly the "-title" option to set the 
> window title. Others programs 
> are able to set utf-8 characters in the title window, so it should not a 
> window manager bug.

Hi. I am using ISO-8859-1 here, so I can't even tell if your email
rendered correctly. When I run

xpdf -title ééé

then the title is displayed just the same as the parameter. I am using
Metacity as my WM.

I tested with 3.02-1 (now in unstable) and also 3.01-9 (etch).

Can you try running xpdf.bin instead of xpdf? /usr/bin/xpdf is a shell
script which fiddles with locale settings, perhaps it is causing a
problem.

thanks
Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#422346: xpdf: utf-8 characters in pdf file name not correctly displayed in the window title bar

2007-05-05 Thread Bertrand Haut
On Saturday 05 May 2007 15:28, Hamish Moffatt wrote:
> On Sat, May 05, 2007 at 11:48:04AM +0200, berti wrote:
> > Package: xpdf-reader
> > Version: 3.01-9
> > Severity: normal
> >
> >
> > I'm using utf-8 locale and I've some pdf files with non-ascii characters
> > in the filename (such as /tmp/ééé.pdf). When this file is opened with
> > xpdf, the window title should be the filename. But the non-ascii
> > characters are not correctly rendered ("Xpdf: ééé.pdf").
> >
> > There is the same problem if I used directly the "-title" option to set
> > the window title. Others programs are able to set utf-8 characters in the
> > title window, so it should not a window manager bug.
>
> Hi. I am using ISO-8859-1 here, so I can't even tell if your email
> rendered correctly. When I run
>
> xpdf -title ééé
>
> then the title is displayed just the same as the parameter. I am using
> Metacity as my WM.
>
> I tested with 3.02-1 (now in unstable) and also 3.01-9 (etch).
>
> Can you try running xpdf.bin instead of xpdf? /usr/bin/xpdf is a shell
> script which fiddles with locale settings, perhaps it is causing a
> problem.

I've retried using xpdf.bin and two different WMs (kde et gnome). The problem 
is present in the two cases : "Xpdf: ééé.pdf" instead of "Xpdf: ééé.pdf"

-- 
Bertrand Haut
ICQ:48978874


pgpPjtUsmXdkn.pgp
Description: PGP signature