Bram Moolenaar writes:

> That sounds like a good solution.  I could either include libcharset.h with
> Vim, or add a configure check for it.  Both are not perfect.  Including
> libcharset.h will not take advantage of a newer version which could be
> available on the system.

The alias table used by locale_charset(), a file called charset.alias,
can be a newer version of what's in libcharset, or even be modified by
the user. If you include libcharset in vim, then installing vim will
not overwrite this file if it already exists; it will only add a
comment saying that vim uses this file as well.

Bruno
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to