Bug 179488 - wrong encoding of error messages in tcsh(1)
Summary: wrong encoding of error messages in tcsh(1)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 8.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 14:40 UTC by Dmitry Cheshkov
Modified: 2021-03-16 06:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Cheshkov 2013-06-11 14:40:00 UTC
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
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:33 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Dmitry Chagin freebsd_committer freebsd_triage 2021-03-16 06:33:57 UTC
Fixed by ume@ by r295204 (e4b59b10f8aebe45f87939a9703638f4130908c0)