Taro Muraoka wrote:
> It works very good. Thank you Bram for fix.
> First two locations were made by me Taro Muraoka. And I had forgot to think
> about 8-bit character. Second two were originated by other. He probably
> thought IsLeadByte() is very high cost and this code is not needed for UNIX's
> encoding EUC. Multibyte of EUC consist of 0x80-0xFF, but multibyte of
> Shift-JIS consist of 0x40-0xFF.
Thanks for checking. I have included these fixes. I didn't include the one
for the regexp code yet, I'll do that later.
IsLeadByte() isn't high cost, but IsTrailByte() is, because it starts looking
at the start of the string.
This multi-byte code is really two-byte code. For Vim 6.0 we will have to
change it all drastically to support UTF-8. Perhaps the multi-byte codes that
are supported until now can be converted to UTF-8? The main advantage will be
that you can edit two buffers with different encoding at the same time.
hundred-and-one symptoms of being an internet addict:
193. You ask your girlfriend to drive home so you can sit back with
your PDA and download the information to your laptop
--/-/---- Bram Moolenaar ---- Bram@...
\ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /