Follow-up Comment #17, bug #66614 (group screen): I applied the attached patch and confirmed that the output of the date command is displayed correctly in some encodings.
D_encoding=UTF8(8), w_encoding=UTF8(8), defencoding UTF8, LANG=ja_JP.utf8 => 2025年 9月 17日 水曜日 18:27:15 JST D_encoding=UTF8(8), w_encoding=EUC_JP(1), defencoding eucJP, LANG=ja_JP.eucJP => 2025年 9月 17日 水曜日 18:27:15 JST D_encoding=UTF8(8), w_encoding=SJIS(2), defencoding sjis, LANG=ja_JP.sjis => 2025年 9月 17日 水曜日 18:27:15 JST D_encoding=UTF8(8), w_encoding=EUC_KR(3), defencoding eucKR, LANG=ko_KR.eucKR => 2025. 09. 17. (수) 18:27:15 JST D_encoding=UTF8(8), w_encoding=EUC_CN(4), defencoding eucCN, LANG=zh_CN.GB2312 => 2025年 09月 17日 星期三 18:27:15 JST D_encoding=UTF8(8), w_encoding=BIG5(5), defencoding Big5, LANG=zh_TW.big5 => 西元2025年09月17日 (週三) 18時27分15秒 JST D_encoding=UTF8(8), w_encoding=GBK(20), defencoding GBK, LANG=zh_CN.GBK => 2025年 09月 17日 星期三 18:27:15 JST _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66614> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature