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

Bug#318923: xterm: localization hell again (even with UTF8 locales)



Package: xterm
Version: 6.8.2.dfsg.1-2
Severity: important


How to reproduce :

1. Create/generate locales for en_US.UTF-8 and uk_UA.UTF-8
2. Add '*faceName: Terminus' into app-defaults/XTerm (Terminus has
	enough Unicode characters for both Latin and Cyrillic).
3. Start xterm (or uxterm) with LANG=en_US.UTF-8
4. Inside it, run 'date' with LANG=uk_UA.UTF-8
5. See 'nnn nnn' instead of weekday and month names.

Why, oh why English UTF8 locale/encoding excludes 
Cyrillic UTF8 characters out of printability ?
(the same could be reproduced with 'fixed' or 'clean' fonts as well,
(-fa option) with only difference - there dotted squares are seen).

How this should be indeed :

3. Start xterm/uxterm with LANG=uk_UA.UTF-8 (or with any other UTF8
	locale, as it worked before)
4. Run 'date' with LANG=uk_UA.UTF-8
5. See proper cyrillic letters for month and weekday.
6. Run 'date' wirh LANG=en_US.UTF-8
7. See proper English date.

This behaviour started to occur after upgrading from XFree86 4.3.0 to
X.Org 6.8.2 . Don't know if it lays in xterm itself or in supporting
libs. Did not do any deep research. Just noticed that on one my system
where locale was en_US.UTF-8, Cyrillic letters stopped to be printed
after this upgrade. No similar effects were observed in gvim, neither
in Mozilla. Only 'beloved' xterm was so overly sensitive ...

-- System Information:
Debian Release: testing/unstable
  APT prefers hoary-updates
  APT policy: (500, 'hoary-updates'), (500, 'hoary-security'), (500, 'hoary'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)

Versions of packages xterm depends on:
ii  libc6                     2.3.5-1ubuntu3 GNU C Library: Shared libraries an
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  libice6                   6.8.2.dfsg.1-2 Inter-Client Exchange library
ii  libncurses5               5.4-8          Shared libraries for terminal hand
ii  libsm6                    6.8.2.dfsg.1-2 X Window System Session Management
ii  libxaw8                   6.8.2.dfsg.1-2 X Athena widget set library
ii  libxext6                  6.8.2.dfsg.1-2 X Window System miscellaneous exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  libxmu6                   6.8.2.dfsg.1-2 X Window System miscellaneous util
ii  libxp6                    6.8.2.dfsg.1-2 X Window System printing extension
ii  libxpm4                   6.8.2.dfsg.1-2 X pixmap library
ii  libxrender1               1:0.9.0-2      X Rendering Extension client libra
ii  libxt6                    6.8.2.dfsg.1-2 X Toolkit Intrinsics
ii  xlibs                     6.8.2.dfsg.1-2 X Window System client libraries m
ii  xlibs-data                6.8.2.dfsg.1-2 X Window System client data

Versions of packages xterm recommends:
ii  xutils                    6.8.2.dfsg.1-2 X Window System utility programs

-- no debconf information



Reply to: