From liukang@bjpu.edu.cn  Sat Aug 23 10:13:36 2003
Return-Path: <liukang@bjpu.edu.cn>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F313616A4BF
	for <freebsd-gnats-submit@freebsd.org>; Sat, 23 Aug 2003 10:13:35 -0700 (PDT)
Received: from bjpu.edu.cn (egw.bjpu.edu.cn [202.112.78.77])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E09CC43FE3
	for <freebsd-gnats-submit@freebsd.org>; Sat, 23 Aug 2003 10:13:33 -0700 (PDT)
	(envelope-from liukang@bjpu.edu.cn)
Received: (eyou gateway send program); Sun, 24 Aug 2003 01:13:23 +0800
Received: from unknown (HELO ssc) (unknown@211.150.182.198)
 by 202.112.78.77 with ; Sun, 24 Aug 2003 01:13:23 +0800
Message-Id: <002901c3699a$8703a930$c6b696d3@ssc>
Date: Sun, 24 Aug 2003 01:18:09 +0800
From: "Kang Liu" <liukang@bjpu.edu.cn>
To: <FreeBSD-gnats-submit@freebsd.org>
Cc: <ache@freebsd.org>, <freebsd-i18n@freebsd.org>
Subject: [patch]fix short weekday names in zh_CN.*

>Number:         55895
>Category:       conf
>Synopsis:       [patch] fix short weekday names in zh_CN.*
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 23 10:20:11 PDT 2003
>Closed-Date:    Sun Oct 23 23:16:59 GMT 2005
>Last-Modified:  Sun Oct 23 23:16:59 GMT 2005
>Originator:     Kang Liu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Beijing University of Technology
>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
 #


>Release-Note:
>Audit-Trail:

From: "Kang Liu" <liukang@bjpu.edu.cn>
To: <freebsd-gnats-submit@FreeBSD.org>, <ache@freebsd.org>
Cc:  
Subject: Re: misc/55895: [patch]fix short weekday names in zh_CN.*
Date: Sun, 24 Aug 2003 01:34:00 +0800

 I think my patch might be damaged by email client or gnat.
 Please use the patch attached,
 Or download from http://www.coredump.cn/timedef.patch
 MD5 (timedef.patch) = 98162dc13b529e9de679b547a932620b
 
 As I've said in  freebsd-i18n, zh_TW.big5 may has the same problem.
 
 
 begin 666 timedef.patch
 M+2TM('-R8R]S:&%R92]T:6UE9&5F+WIH7T-.+D=",3@P,S N<W)C+F]R:6<)
 M4W5N($%U9R R-" P,#HQ,SHP-R R,# S"BLK*R!S<F,O<VAA<F4O=&EM961E
 M9B]Z:%]#3BY'0C$X,#,P+G-R8PE3=6X@075G(#(T(# P.C$W.C0V(#(P,#,*
 M0$ @+3,U+#$S("LS-2PQ,R! 0 H@(PH@(R!3:&]R="!W965K9&%Y(&YA;65S
 M"B C"BW6W,C5"BW6W-*["BW6W+;^"BW6W,C]"BW6W,O$"BW6W,[E"BW6W,'Y
 M"BO(U0HKTKL**[;^"BO(_0HKR\0**\[E"BO!^0H@(PH@(R!,;VYG('=E96MD
 M87D@;F%M97,*(",*+2TM('-R8R]S:&%R92]T:6UE9&5F+WIH7T-.+F5U8T-.
 M+G-R8RYO<FEG"5-U;B!!=6<@,C0@,# Z,3,Z,34@,C P,PHK*RL@<W)C+W-H
 M87)E+W1I;65D968O>FA?0TXN975C0TXN<W)C"5-U;B!!=6<@,C0@,# Z,3DZ
 M,C<@,C P,PI 0" M,S4L,3,@*S,U+#$S($! "B C"B C(%-H;W)T('=E96MD
 M87D@;F%M97,*(",*+=;<R-4*+=;<TKL*+=;<MOX*+=;<R/T*+=;<R\0*+=;<
 MSN4*+=;<P?D**\C5"BO2NPHKMOX**\C]"BO+Q HKSN4**\'Y"B C"B C($QO
 4;F<@=V5E:V1A>2!N86UE<PH@(PH`
 `
 end
 
State-Changed-From-To: open->patched 
State-Changed-By: ache 
State-Changed-When: Sat Aug 23 13:47:17 PDT 2003 
State-Changed-Why:  
Committed into -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55895 

From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@freebsd.org
Cc: freebsd-bugs@freebsd.org
Subject: Re: conf/55895: [patch]fix short weekday names in zh_CN.*
Date: Wed, 30 Mar 2005 20:00:40 +0200

 --ka8pmxPp9qZnI4DD
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Patch committed and MFCed long time ago.
 This PR can be closed.
 Best Regards
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --ka8pmxPp9qZnI4DD
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCSulI2Mp4pR7Fa+wRAj5lAJ94LkxJr+PvZDf7AISgPF0geMXDHACgnIbk
 SX50m6PhVvKo6p4yFI0wu+g=
 =Nm7u
 -----END PGP SIGNATURE-----
 
 --ka8pmxPp9qZnI4DD--
State-Changed-From-To: patched->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Oct 23 23:16:37 GMT 2005 
State-Changed-Why:  
Apparently committed a long time ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55895 
>Unformatted:
