On Mon, Aug 19, 2002 at 06:13:23PM +0100, Markus Kuhn wrote:
> properly in UTF-8 mode, but it deactivates UTF-8 mode when you load
> instead a file that contains malformed sequences, such as
> 
>   http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt

Make sure fencs and fenc are empty.

However, it'll still set the ro flag when it finds invalid characters.
That shouldn't happen here.

> Even worse, it also deactivates UTF-8 mode when you load a file that
> contains new Unicode 3.2 characters, such as
> 
>   http://www.cl.cam.ac.uk/~mgk25/UTF-8-demo.txt
(that's ucs/examples/UTF-8-demo.txt)

This works for me even with my normal fencs=ucs-bom,utf-8,latin1 setup;
there's no reason Vim should ever fall out of UTF-8 mode for this
reason.

VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Aug 13 2002 15:12:46)

Upgrade?

BTW. Bram, Vim isn't handling overlong sequences well.  (It also doesn't
handle 3.3 in UTF-8-test.txt like Marcus suggests, but I think the
display-every-character-in-hex behavior is better for an editor.)

-- 
Glenn Maynard
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to