On Mon, Jul 18, 2005 at 07:20:06PM +0200, Wladimir Mutel wrote: > 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.
Actually on my machine, I'm not seeing a change for the output of 'date' (yes, I did regenerate locales): /usr/build/xterm/xterm-203b (101) ./testit locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=LANG=uk_UA.UTF-8 LC_CTYPE="LANG=uk_UA.UTF-8" LC_NUMERIC="LANG=uk_UA.UTF-8" LC_TIME="LANG=uk_UA.UTF-8" LC_COLLATE="LANG=uk_UA.UTF-8" LC_MONETARY="LANG=uk_UA.UTF-8" LC_MESSAGES="LANG=uk_UA.UTF-8" LC_PAPER="LANG=uk_UA.UTF-8" LC_NAME="LANG=uk_UA.UTF-8" LC_ADDRESS="LANG=uk_UA.UTF-8" LC_TELEPHONE="LANG=uk_UA.UTF-8" LC_MEASUREMENT="LANG=uk_UA.UTF-8" LC_IDENTIFICATION="LANG=uk_UA.UTF-8" LC_ALL=LANG=uk_UA.UTF-8 Mon Jul 18 17:28:28 EDT 2005 /usr/build/xterm/xterm-203b (102) testit: #!/bin/sh with-locale LANG=uk_UA.UTF-8 locale with-locale LANG=uk_UA.UTF-8 date with-locale: #!/bin/sh unset LANG unset LC_ALL unset LC_CTYPE export LANG=$1 export LC_ALL=$1 shift $* For the sake of discussion, a typescript file from your session, showing the output of locale and the output of date would show enough information to see if it is encoded in UTF-8, and allow me (by cat'ing to the terminal) to see what xterm would display. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpiZAJ3BCQeA.pgp
Description: PGP signature