From owner-freebsd-stable@FreeBSD.ORG Fri Jan 17 15:55:10 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1BB22AC for ; Fri, 17 Jan 2014 15:55:10 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 57F0C1032 for ; Fri, 17 Jan 2014 15:55:10 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hi8so886656wib.3 for ; Fri, 17 Jan 2014 07:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=nAtfsznOpWArZ9nWrERy3dspcZmpKKx7EhP4nEPhMJY=; b=QaaltEv7XwZXkoSybDz37Uny/y8xCVyN1uO6scwMK6PiiMFip5nxNttZDzKiAe3jUO +HGZWyq24V1rA4746F86GbTlLhjbR+gLFKFgSsVonh4F3KVZvN+imj/njrrAQzFYhu2e 86AtSqSbp0iopgsACqLgNfSdsji4GcWhr3p9Us5AGQl4olHfueCHRZ/kz8VSp904IEUW UYVWqfzlVQxXoymdbxMkcTOOtOmPAO3EweDb4S1Sckn+68FJxAswk1GyMHvKMk/+Tu1H yZF9L3xs6wVzdP6WiE6CWr4txy0yDvA5RgtqP4uYkoFfYGZ6DBcbR8GT+sv1y7/zEWLb CEEA== X-Received: by 10.194.2.11 with SMTP id 11mr2741856wjq.82.1389974108548; Fri, 17 Jan 2014 07:55:08 -0800 (PST) Received: from [10.0.2.15] (LNantes-156-74-19-50.w82-127.abo.wanadoo.fr. [82.127.90.50]) by mx.google.com with ESMTPSA id e5sm9744578wja.15.2014.01.17.07.55.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 07:55:08 -0800 (PST) Message-ID: <52D9525B.7000402@gmail.com> Date: Fri, 17 Jan 2014 16:55:07 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: nvi fails to when encountering 0xa9 character References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 15:55:10 -0000 On 17/01/2014 07:04, Kevin Oberman wrote: > FreeBSD 10.0-RC5/amd64 > > When I edit a file containing the 0xa9/copyright/circle-c character. the > line that the character is on is rendered as ~. It is not editable. It > can't even e deleted. While nvi will allow stepping to the next line and > continuing to edit, searching past the line fails and writing out the file > truncated the file at the line. Unless a backup exists, the remainder of > the file is lost.Since that character is usually early in the file, most of > the file is lost. I don't know if other characters also trigger the problem. > > Is this a known issue? iconv related? It is VERY annoying! Fortunately I > did have a backup and I usually use emacs. Hi, Unfortunately nvi is really not unicode capable AFAIK. You probably want to switch to vim or another editor. Regards.