Hacker News new | ask | show | jobs
by ainar-g 1029 days ago
I'll be able to try a bit later, but does it handle UTF-8 correctly? I remember having some versions of nvi split characters through the middle when doing e.g. folding back in the day.

EDIT: Sorry, I'm a dum-dum, it's written in the README:

> No support for Unicode / UTF-8 / wide character display

> Multibyte support is planned, but is unfortunately non-trivial, […]

3 comments

If you want a small, portable vi with Unicode, you can static build the version from Busybox. That's what I do.
Nvi2 from packages/ports it's almost the same as core vi but with Unicode support.
“Multibyte characters are shown as individual bytes, rather than glyphs”