Bug#323667: xconsole: non-ascii characters don't show up
Package: xbase-clients
Version: 6.8.2.dfsg.1-5
Severity: minor
Tags: upstream patch l10n
Hi,
Some of my deamons print french information in syslog, so this produces
non-ascii characters like éàçè. These don't show up in xconsole's
output, while running cat /dev/xconsole shows that xconsole really gets
them.
Just calling XtSetLanguageProc(NULL,NULL,NULL) before XtInitialize()
makes it work as expected:
--- xc/programs/xconsole/xconsole.c.orig 2005-08-17 22:44:32.604358319 +0200
+++ xc/programs/xconsole/xconsole.c 2005-08-17 22:42:22.481372313 +0200
@@ -599,6 +599,7 @@ main(int argc, char *argv[])
Arg arglist[10];
Cardinal num_args;
+ XtSetLanguageProc(NULL,NULL,NULL);
top = XtInitialize ("xconsole", "XConsole", options, XtNumber (options),
&argc, argv);
XtGetApplicationResources (top, (XtPointer)&app_resources, resources,
This was reported upstream, see
https://bugs.freedesktop.org/show_bug.cgi?id=4130
Regards,
Samuel
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages xbase-clients depends on:
ii cpp 4:4.0.1-3 The GNU C preprocessor (cpp)
ii libc6 2.3.5-3 GNU C Library: Shared libraries an
ii libdmx1 6.8.2.dfsg.1-5 Distributed Multihead X client lib
ii libdps1 6.8.2.dfsg.1-5 Display PostScript (DPS) client li
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libfontconfig1 2.3.2-1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libfs6 6.8.2.dfsg.1-5 X Font Server library
ii libice6 6.8.2.dfsg.1-5 Inter-Client Exchange library
ii libncurses5 5.4-9 Shared libraries for terminal hand
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsm6 6.8.2.dfsg.1-5 X Window System Session Management
ii libxau6 6.8.2.dfsg.1-5 X Authentication library
ii libxaw8 6.8.2.dfsg.1-5 X Athena widget set library
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.8.2.dfsg.1-5 X Window System miscellaneous exte
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.8.2.dfsg.1-5 X Window System Input extension li
ii libxinerama1 6.8.2.dfsg.1-5 X Window System multi-head display
ii libxkbfile1 6.8.2.dfsg.1-5 X Keyboard Extension file parsing
ii libxkbui1 6.8.2.dfsg.1-5 X Keyboard Extension user interfac
ii libxmu6 6.8.2.dfsg.1-5 X Window System miscellaneous util
ii libxmuu1 6.8.2.dfsg.1-5 lightweight X Window System miscel
ii libxp6 6.8.2.dfsg.1-5 X Window System printing extension
ii libxpm4 6.8.2.dfsg.1-5 X pixmap library
ii libxrandr2 6.8.2.dfsg.1-5 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii libxss1 6.8.2.dfsg.1-5 X Screen Saver client-side library
ii libxt6 6.8.2.dfsg.1-5 X Toolkit Intrinsics
ii libxtrap6 6.8.2.dfsg.1-5 X Window System protocol-trapping
ii libxtst6 6.8.2.dfsg.1-5 X Window System event recording an
ii libxv1 6.8.2.dfsg.1-5 X Window System video extension li
ii libxxf86dga1 6.8.2.dfsg.1-5 X Direct Graphics Access extension
ii libxxf86misc1 6.8.2.dfsg.1-5 X miscellaneous extensions library
ii libxxf86vm1 6.8.2.dfsg.1-5 X Video Mode selection library
ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-5 Mesa 3D graphics library [X.Org]
ii xlibmesa-glu [libglu1] 4.3.99-1 Mesa OpenGL utility library [XFree
ii xlibs 6.8.2.dfsg.1-5 X Window System client libraries m
ii xlibs-data 6.8.2.dfsg.1-5 X Window System client data
ii zlib1g 1:1.2.3-3 compression library - runtime
xbase-clients recommends no packages.
-- no debconf information
--
Samuel Thibault <samuel.thibault@ens-lyon.org>
I develop for Linux for a living, I used to develop for DOS.
Going from DOS to Linux is like trading a glider for an F117.
(By entropy@world.std.com, Lawrence Foard)
Reply to: