[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#505893: x11-utils: xmessage ignores locale encoding



Package: x11-utils
Version: 7.3+2
Severity: normal
Tags: l10n


It seems that xmessage always assumes an 8-bit-per-character or iso-8859
encoding, regardless of locale settings.  For instance, running::

  python -c 'print u"aix\xf2".encode("utf-8")' | xmessage -file -

or (under an UTF-8 locale)::

  echo això | xmessage -file -

shows garbage::

  això

while running::

  python -c 'print u"aix\xf2".encode("iso-8859-1")' | xmessage -file -

correctly shows::

  això

The same occurs when giving the string as a command-line argument.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages x11-utils depends on:
ii  cpp                    4:4.3.2-2         The GNU C preprocessor (cpp)
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfontenc1            1:1.0.4-3         X11 font encoding library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgl1-mesa-glx [libgl 7.0.3-6           A free implementation of the OpenG
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxaw7                2:1.0.4-2         X11 Athena Widget library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxft2                2.1.12-3          FreeType-based font drawing librar
ii  libxi6                 2:1.1.3-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxmuu1               2:1.0.4-1         X11 miscellaneous micro-utility li
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  libxtst6               2:1.0.3-1         X11 Testing -- Resource extension 
ii  libxv1                 2:1.0.4-1         X11 Video extension library
ii  libxxf86dga1           2:1.0.2-1         X11 Direct Graphics Access extensi
ii  libxxf86vm1            1:1.0.2-1         X11 XFree86 video mode extension l
ii  x11-common             1:7.3+18          X Window System (X.Org) infrastruc
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

x11-utils recommends no packages.

Versions of packages x11-utils suggests:
pn  mesa-utils                    <none>     (no description available)

-- no debconf information



Reply to: