In japanese/chinese/korean, there are many programs that written comments with using them native language in the code.
And there are many encodings in multi-byte locale in the world. For example, we uses below's character encodings at least.
Vim read tag file and find that from codes. But vim doesn't know that encodings. So currently, we must convert codes or tags file in manually. Because vim can't jump into the strings with found the the string in tags.
However, some programming languages are defined that own character encodings. (ex: golang uses utf-8 to write code)
So I want to specify character encodings like below.
$ ~/.ctags
--encoding=utf8
--encoding-c=cp932
--encoding-java=cp932
This mean:
Most of codes should be utf-8
But C/Java should be handed as cp932
This patch add !_TAG_FILE_ENCODING into tags file. But vim already support this.
This patch is now part of universal ctags.
Last edit: Masatake YAMATO 2016-07-08