Date: Fri, 17 Nov 2017 14:29:37 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220013] editors/nvi-m17n [patch] fix CJK display problem caused by libncurses Message-ID: <bug-220013-13-KWVS8E0p9d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220013-13@https.bugs.freebsd.org/bugzilla/> References: <bug-220013-13@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=3D220013 --- Comment #4 from Tomioka Satoshi <tomioka.satoshi.ml@gmail.com> --- Created attachment 188075 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188075&action= =3Dedit fileencoding misdetection when the first line does not contain multi-byte letters In FreeBSD 11.1, nvi-m17n cannot set the "fileencoding" for euc-jp file correctly, when the first line does not include multi-byte characters.=20 In the current code, all the candidate flags are set for this case, and the encoding is determined to the encoding of the first candidate within all the candidates. The patch attached may fix this bug. The correction is made by only a single line addition to the multibyte.c bu= t it requires libncursesw. --=20 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-220013-13-KWVS8E0p9d>