From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 30 04:17:19 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36280106566B for ; Sun, 30 Oct 2011 04:17:18 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 83E278FC08 for ; Sun, 30 Oct 2011 04:17:18 +0000 (UTC) Received: by eyd10 with SMTP id 10so5896323eyd.13 for ; Sat, 29 Oct 2011 21:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HsiFn7KgF3SzbtFuLx8Fu3f7yRPbOGyLeh2ODy9hqdY=; b=vyM97Qpxaw5PQ2U6OC65VvNr95TzbmV4EE2CNqSXWd5CO7yf+Qmjq0bZmGmOy4X4IO SFuNY/NwqlKP2Gi5vk9V6UTEjWJ8lHITpxXhowBsj/suNZJ9wUEZ70X3JGZrXM8F9DGU Qs7CVxSAJui/DuzopMQ02XLf0Ui/uCj3CDcyk= MIME-Version: 1.0 Received: by 10.213.4.75 with SMTP id 11mr342603ebq.27.1319948237072; Sat, 29 Oct 2011 21:17:17 -0700 (PDT) Received: by 10.213.113.10 with HTTP; Sat, 29 Oct 2011 21:17:16 -0700 (PDT) In-Reply-To: References: <868vqt0xuc.fsf@gmail.com> <1313663436600-4711635.post@n5.nabble.com> <86hb5euofp.fsf@gmail.com> <20110823175133.GK18091@acme.spoerlein.net> Date: Sat, 29 Oct 2011 23:17:16 -0500 Message-ID: From: Zhihao Yuan To: Test Rat , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: [nvi-iconv]Call for test X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2011 04:17:19 -0000 Hi, I uploaded a revision, https://github.com/downloads/lichray/nvi2/nvi2-freebsd-2011-10-28.diff.gz ** This patch works for cvs/svn/git, but you have to remove usr.bin/vi/port.h by hand. ** In this version, I hacked the CJK part. Now all EUC-compatible encodings are being regarded as GB18030. Note! This change only affects how the text are being displayed. It has nothing to do with the actual encoding. The benefits are: 1. GB18030 works with libncursesw, but some other CJK encodings may not;. 2. AFAIK, GB18030 (Unicode 4.1) covers all CJK charsets, so it's good for mixed-lingual editing. Affected LC_CTYPE in FreeBSD: ko_KR.CP949, ko_KR.eucKR ja_JP.eucJP zh_CN.GB2312, zh_CN.GBK, zh_CN.eucCN If you any locale above (especially for Japanese, Korean users), please help me test whether the CJK text (in any kind of encodings) are being handled correctly. Thanks. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/