Date: Sun, 24 Aug 2003 01:18:09 +0800 From: "Kang Liu" <liukang@bjpu.edu.cn> To: <FreeBSD-gnats-submit@freebsd.org> Cc: freebsd-i18n@freebsd.org Subject: [patch]fix short weekday names in zh_CN.* Message-ID: <002901c3699a$8703a930$c6b696d3@ssc>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Kang Liu >Organization: Beijing University of Technology >Confidential: no >Synopsis: [patch]fix short weekday names in zh_CN.* >Severity: non-critical >Priority: medium >Category: misc >Class: sw-bug >Release: FreeBSD 5.1-CURRENT i386 >Environment: System:5.1-CURRENT >Description: The short weekday names of zh_CN.eucCN and zh_CN.GB18030 is "$B<~0l(B $B<~Fs(B..." and so on. It can not be displayed properly in some freebsd general commands.e.g. cal, ncal. >How-To-Repeat: setenv LC_ALL zh_CN.eucCN (or setenv LC_ALL zh_CN.GB18030) #cal $BH,7n(B 2003 $B<~(B $B<~(B $B<~(B $B<~(B $B<~(B $B<~(B $B<~(B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 In fact it should be: $BH,7n(B 2003 $BF|(B $B0l(B $BFs(B $B;0(B $B;M(B $B8^(B $BO;(B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >Fix: --- src/share/timedef/zh_CN.GB18030.src.orig Sun Aug 24 00:13:07 2003 +++ src/share/timedef/zh_CN.GB18030.src Sun Aug 24 00:17:46 2003 @@ -35,13 +35,13 @@ # # Short weekday names # -$B<~F|(B -$B<~0l(B -$B<~Fs(B -$B<~;0(B -$B<~;M(B -$B<~8^(B -$B<~O;(B +$BF|(B +$B0l(B +$BFs(B +$B;0(B +$B;M(B +$B8^(B +$BO;(B # # Long weekday names # --- src/share/timedef/zh_CN.eucCN.src.orig Sun Aug 24 00:13:15 2003 +++ src/share/timedef/zh_CN.eucCN.src Sun Aug 24 00:19:27 2003 @@ -35,13 +35,13 @@ # # Short weekday names # -$B<~F|(B -$B<~0l(B -$B<~Fs(B -$B<~;0(B -$B<~;M(B -$B<~8^(B -$B<~O;(B +$BF|(B +$B0l(B +$BFs(B +$B;0(B +$B;M(B +$B8^(B +$BO;(B # # Long weekday names #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002901c3699a$8703a930$c6b696d3>