Package: xpdf-reader Version: 3.00-13 Followup-For: Bug #227913
I've encountered problem with non-latin characters too. I've tried to run xpdf.bin direcrty, and find out that problem doesn't disappear. I do not have such problems with other Motif applications. For instance, I use vim with Motif GUI on daily basis. There are some problems with dialogs (which seems to be gvim problems rather than Motif problems because Xaw GUI of vim suffers of them too) I've grepped xpdf sources for setlocale or XSetLocaleModifiers system calls and found none. So, it is understadable why xpdf doesn't input non-latin1 characters - XLookupString (and XmbLookupString) properly converts keysym into character code only if locale is set correctly. I've tried to add setlocale(LC_CTYPE,"") at the begining of main function of xpdf, and this have allowed me to enter cyrillic letters into find dialog, but these letters was displayed incorrectly with some Latin1 font, even if I've explicitely specified cyrillic font with -fn option. I think that if upstream author is SO unaware about handling of non-latin1 characters in X, there should be a bit more work required to turn entered search string into correct representation for search inside PDF. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.27-xeon Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages xpdf depends on: ii xpdf-common 3.00-13 Portable Document Format (PDF) sui ii xpdf-reader 3.00-13 Portable Document Format (PDF) sui ii xpdf-utils 3.00-13 Portable Document Format (PDF) sui Versions of packages xpdf-reader depends on: ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-13 GCC support library ii libice6 4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library ii libmotif3 2.2.3-1 Open Motif - shared libraries ii libpaper1 1.1.14-3 Library for handling paper charact ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxp6 4.3.0.dfsg.1-14sarge1 X Window System printing extension ii libxpm4 4.3.0.dfsg.1-14sarge1 X pixmap library ii libxt6 4.3.0.dfsg.1-14sarge1 X Toolkit Intrinsics ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu ii xpdf-common 3.00-13 Portable Document Format (PDF) sui ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]