[Bug 196447] vi(1) misbehavior when encountered invalid Unicode character
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 5 20:35:47 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196447
--- Comment #1 from lichray at 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.
More information about the freebsd-bugs
mailing list