misc/179488: wrong encoding of error messages in tcsh

Dmitry Cheshkov dcheshkov at gmail.com
Tue Jun 11 13:40:00 UTC 2013


>Number:         179488
>Category:       misc
>Synopsis:       wrong encoding of error messages in tcsh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 11 13:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Cheshkov
>Release:        8.4-STABLE, amd64, r251566
>Organization:
GPI RAS, Moscow, Russia
>Environment:
FreeBSD namik 8.4-STABLE FreeBSD 8.4-STABLE #0 r251566: Sun Jun  9 17:46:47 MSK 2013     dima at newlure:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
TCSH error messages appear in wrong encoding (looks like in ru_RU.UTF-8) when LANG variable is set to ru_RU.KOI8-R and displays as unreadable strings:

namik 17:23:10 ~ > unsetenv LANG
namik 17:25:24 ~ > slkdfskasd
slkdfskasd: Command not found.
namik 17:25:26 ~ > setenv LANG ru_RU.KOI8-R
namik 17:25:39 ~ > dsfdsf
dsfdsf: Ðоманда не найдена.
namik 17:25:41 ~ > 1;2c

at the same time 'ls -l' gives normal localized output

namik 17:32:07 ~ > ls -l
total 343238
-rw-r--r--   1 dima     dima          1472  4 янв  2006 B12H12F_scan.gjf
-rw-r--r--   1 dima     dima           290 12 июн  2006 CeF.in
lrwxr-xr-x   1 root     dima            18 28 май 17:59 Jobs@ -> /usr/data/g03/J

With best regards,
Dmitry Cheshkov
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list