Yukihiro Nakadaira wrote: > Charles Campbell wrote: > >> * as a related issue, multibyte encodings cause strlen() problems -- as >> in, strlen() reports the wrong >> string length. With netrw v135f, netrw always calls s:Strlen() where >> it may have called strlen() >> before; by default g:netrw_xstrlen is zero, which means strlen() will >> be used. However, one has >> three other choices -- hopefully, one of them will work for you. >> > > It seems that s:Strlen() is used to get string width in screen column. > If strlen() is used to get byte length of string (e.g. for argument of > strpart()), replacing it with s:Strlen() will cause problem. > > You're right -- I've put 135g up on my website with this addressed.
Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
