From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 15 18:30:03 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1AA9FA74 for ; Mon, 15 Jul 2013 18:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E71AAF0F for ; Mon, 15 Jul 2013 18:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6FIU19e081319 for ; Mon, 15 Jul 2013 18:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6FIU10q081318; Mon, 15 Jul 2013 18:30:01 GMT (envelope-from gnats) Date: Mon, 15 Jul 2013 18:30:01 GMT Message-Id: <201307151830.r6FIU10q081318@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tomoki AONO Subject: Re: bin/179630: tcsh(1): nls catalog file has wrong character code(ja_JP.eucJP) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Tomoki AONO List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 18:30:03 -0000 The following reply was made to PR bin/179630; it has been noted by GNATS. From: Tomoki AONO To: bug-followup@FreeBSD.org, yochy4671@gmail.com Cc: "Aono@oku" Subject: Re: bin/179630: tcsh(1): nls catalog file has wrong character code(ja_JP.eucJP) Date: Tue, 16 Jul 2013 03:24:01 +0900 This is a multi-part message in MIME format. --------------070207030001020901030608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Since tcsh upgrade to 6.18.01 (r231990), it seems NLS catalog files are written in UTF-8. (ex. http://svnweb.freebsd.org/base/head/contrib/tcsh/nls/ja/charset?r1=155833&r2=231990) But bin/tcsh/Makefile does not follow this change, so spotted behavior occurs. Installing libiconv (by ports) would be a workaround, because tcsh use it to convert charset of catalog. Attached file is concept patch for 8/9/HEAD to install Japanese (and Russian (cf. bin/179488)) catalog file to correct directory (locale). Probably same change for other locale (some_LOCALE.charset -> some_LOCALE.UTF-8) will be needed. Also corresponding change for port tcsh-nls is needed. --------------070207030001020901030608 Content-Type: text/plain; charset=Shift_JIS; name="tcsh-20130701.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="tcsh-20130701.diff" SW5kZXg6IGJpbi9jc2gvTWFrZWZpbGUKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gYmluL2NzaC9NYWtl ZmlsZQkocmV2aXNpb24gMjUyMTE4KQorKysgYmluL2NzaC9NYWtlZmlsZQkod29ya2luZyBj b3B5KQpAQCAtNTgsOCArNTgsOCBAQAogCQlnZXJtYW46ZGVfREUuSVNPODg1OS0xIFwKIAkJ Z3JlZWs6ZWxfR1IuSVNPODg1OS03IFwKIAkJaXRhbGlhbjppdF9JVC5JU084ODU5LTEgXAot CQlqYTpqYV9KUC5ldWNKUCBcCi0JCXJ1c3NpYW46cnVfUlUuS09JOC1SIFwKKwkJamE6amFf SlAuVVRGLThcCisJCXJ1c3NpYW46cnVfUlUuVVRGLTggXAogCQlzcGFuaXNoOmVzX0VTLklT Tzg4NTktMSBcCiAJCXVrcmFpbmlhbjp1a19VQS5LT0k4LVUKIApAQCAtODQsOCArODQsOCBA QAogTkxTTElOS1NfZmlfRkkuSVNPODg1OS0xICs9IGZpX0ZJLlVURi04CiBOTFNMSU5LU19m cl9GUi5JU084ODU5LTEgKz0gZnJfQkUuVVRGLTggZnJfQ0EuVVRGLTggZnJfQ0guVVRGLTgg ZnJfRlIuVVRGLTgKIE5MU0xJTktTX2l0X0lULklTTzg4NTktMSArPSBpdF9DSC5VVEYtOCBp dF9JVC5VVEYtOAotTkxTTElOS1NfamFfSlAuZXVjSlAgPSBqYV9KUC5TSklTIGphX0pQLlVU Ri04Ci1OTFNMSU5LU19ydV9SVS5LT0k4LVIgPSBydV9SVS5DUDEyNTEgcnVfUlUuQ1A4NjYg cnVfUlUuSVNPODg1OS01IHJ1X1JVLlVURi04CitOTFNMSU5LU19qYV9KUC5VVEYtOCA9IGph X0pQLlNKSVMgamFfSlAuZXVjSlAKK05MU0xJTktTX3J1X1JVLlVURi04ID0gcnVfUlUuQ1Ax MjUxIHJ1X1JVLkNQODY2IHJ1X1JVLklTTzg4NTktNSBydV9SVS5LT0k4LVIKIE5MU0xJTktT X3VrX1VBLktPSTgtVSA9IHVrX1VBLklTTzg4NTktNSB1a19VQS5VVEYtOAogLmVsc2UKICMg QWJvdmUgbGlua3MgY2FuIGJlIGluc3RhbGxlZCBmcm9tIHBvcnRzL3NoZWxscy90Y3NoX25s cwo= --------------070207030001020901030608--