Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2015 20:35:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196447] vi(1) misbehavior when encountered invalid Unicode character
Message-ID:  <bug-196447-8-oE7EILGqFG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196447-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196447-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196447

--- Comment #1 from lichray@gmail.com ---
(In reply to Xin LI from comment #0)

We know these types of issues for quite a long time, but I don't have a desired
behavior in mind.

For now, the workaround would be to set the correct locale:

  env LC_CTYPE=en_US.ISO8859-1 nvi /usr/src/sys/dev/ata/atapi-cd.c

or to make use of the 8-bit mode:

  env LC_CTYPE=C nvi /usr/src/sys/dev/ata/atapi-cd.c

Specific encoding can be set after the file is loaded, with ":se
fe=iso-8859-1", but 8-bit mode cannot (unfortunately due to a display related
bug which I cannot solve).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196447-8-oE7EILGqFG>