From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 2 09:00:27 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B02F51065672 for ; Tue, 2 Aug 2011 09:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 80BAE8FC1C for ; Tue, 2 Aug 2011 09:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7290RxP060982 for ; Tue, 2 Aug 2011 09:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7290RDM060978; Tue, 2 Aug 2011 09:00:27 GMT (envelope-from gnats) Resent-Date: Tue, 2 Aug 2011 09:00:27 GMT Resent-Message-Id: <201108020900.p7290RDM060978@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "J.R. Oldroyd" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BBAA1065670 for ; Tue, 2 Aug 2011 08:59:00 +0000 (UTC) (envelope-from jr@opal.com) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 57D168FC15 for ; Tue, 2 Aug 2011 08:59:00 +0000 (UTC) Received: from pool-141-154-233-28.bos.east.verizon.net ([141.154.233.28] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QoAoV-000G12-Hu for FreeBSD-gnats-submit@freebsd.org; Tue, 02 Aug 2011 08:58:59 +0000 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p728wt3r003567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Aug 2011 04:58:57 -0400 (EDT) (envelope-from jr@opal.com) Received: from shibato.opal.com ([83.201.146.170] helo=shibato.opal.com) with IPv4:587 by opal.com; 2 Aug 2011 04:58:55 -0400 Received: from shibato.opal.com (localhost [127.0.0.1]) by shibato.opal.com (8.14.4/8.14.4) with ESMTP id p728wrEB001981 for ; Tue, 2 Aug 2011 10:58:54 +0200 (CEST) (envelope-from jr@opal.com) Received: (from jr@localhost) by shibato.opal.com (8.14.4/8.14.4/Submit) id p728wrLN001980; Tue, 2 Aug 2011 10:58:53 +0200 (CEST) (envelope-from jr) Message-Id: <201108020858.p728wrLN001980@shibato.opal.com> Date: Tue, 2 Aug 2011 10:58:53 +0200 (CEST) From: "J.R. Oldroyd" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/159377: system vi(1)/nvi(1) does not display wide characters, e.g., UTF-8 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2011 09:00:27 -0000 >Number: 159377 >Category: bin >Synopsis: system vi(1)/nvi(1) does not display wide characters, e.g., UTF-8 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 02 09:00:27 UTC 2011 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD xx.opal.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/XX amd64 >Description: The system nvi(1) does not properly display wide characters, e.g., UTF-8, displaying those characters as hexadecimal "\xab\xab" instead. It is 2011 and UTF-8 has been around for over a decade now. FreeBSD is very far behind in not supporting UTF-8 throughout all system tools. It is high time we updated our tools. >How-To-Repeat: Edit a file containing UTF-8 characters. >Fix: Update the system nvi(1) to the version in the port editors/nvi-devel which does support wide character sets (and has done for years). >Release-Note: >Audit-Trail: >Unformatted: