Date: Mon, 25 Jul 2011 23:41:30 -0500 From: Zhihao Yuan <lichray@gmail.com> To: soc-status@freebsd.org, Alexander Leidinger <alexander@leidinger.net> Subject: [nvi-iconv]Weekly status report 10 Message-ID: <CAGsORuAySMYtQid%2Bz1XSnREx8FdxC_KpUQtzDdbV-rCLOmYGjw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
To whom may concerned: During the past week, I added the file encoding detection supports to the new nvi. Currently, the detection reads the first line in a file, and works based on 3 assumptions: 1. The user edits the file in his/her language; 2. Only distinguish UTF-16 and UTF-8 (others will fallback to locale); 3. UTF-16 must begin with BOM. I want to remove the first and the third assumption. This can be done by importing `file(1)`'s unicode test code. An infinite call bug cased by the new :vsplit is detected and not resolved yet. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGsORuAySMYtQid%2Bz1XSnREx8FdxC_KpUQtzDdbV-rCLOmYGjw>