line2byte() does not care multi-byte characters.

For example, if my buffer has file-encoding utf-8, and there's some
cyrillic characters in the buffer (each cyrillic charater takes 2 bytes),
then line2byte('.') returns wrong result (it doesn't care about multi-byte
characters)

Regards,
Dmitry.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui