helptags doesn't extract multi-byte tags if encoding=cp932

36 views
Skip to first unread message

mattn

unread,
May 10, 2012, 8:12:05 PM5/10/12
to vim...@googlegroups.com
Hi.

helptags_one extract help tag like '*foo*'. it's used vim_strchr() to find second '*'. But vim_strchr() depend on current &encoding. Help file should be latin-1 or utf-8 encoding. So if DBCS is used for &encoding, it may not extract second '*'.
Below is a patch. Please check and include.

https://gist.github.com/2656714

- Yasuhiro Matsumoto

Bram Moolenaar

unread,
May 12, 2012, 8:47:31 AM5/12/12
to mattn, vim...@googlegroups.com
Thanks, I'll look into it soon.

--
An SQL statement walks into a bar. He approaches two tables
and says, "Mind if I join you?"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages