From owner-cvs-all@FreeBSD.ORG Thu Nov 6 01:54:17 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EED016A4CE; Thu, 6 Nov 2003 01:54:17 -0800 (PST) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C2343F75; Thu, 6 Nov 2003 01:54:04 -0800 (PST) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id TZ2GYQ0V; Thu, 6 Nov 2003 17:33:29 +0800 Message-ID: <3FAA1B7D.3070307@viatech.com.cn> Date: Thu, 06 Nov 2003 17:59:25 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Robbins References: <200311052252.hA5Mqpkd052553@repoman.freebsd.org> <20031106094214.GA5455@wombat.robbins.dropbear.id.au> In-Reply-To: <20031106094214.GA5455@wombat.robbins.dropbear.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: David Xu cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/mklocale yacc.y src/lib/libc/locale Makefile.inc gb2312.c setrunelocale.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 09:54:17 -0000 Tim Robbins wrote: >On Wed, Nov 05, 2003 at 02:52:51PM -0800, David Xu wrote: > > > >>davidxu 2003/11/05 14:52:51 PST >> >> FreeBSD src repository >> >> Modified files: >> usr.bin/mklocale yacc.y >> lib/libc/locale Makefile.inc setrunelocale.c >> Added files: >> lib/libc/locale gb2312.c >> Log: >> Add gb2312 encoding. >> >> > >This looks like EUC. Is there any chance you could use the EUC encoding >code instead of adding another one? Also, out of curiosity, how is it >different from zh_CN.eucCN? > > >Tim > > > I hear euc does not check error sequence which is not encoded by GB2312 , right ? Despite that, most program ported from Linux only support GB2312 or GBK , but not euc, I always has trouble with euc when running some Linux programs. David Xu