Bruno Haible writes:
> > Is there an official mechanism for telling gettext what the target
> > charset is even when the locale is wrong, nl_langinfo is missing, or
> > whatever?
>
> Yes. It is called bind_textdomain_codeset(), and is documented in the
> manual.
This sounds useful. Vim can edit text in another encoding than the current
locale. Especially useful when using an Asian locale (to make the XIM work)
and wanting to edit Unicode text.
Where in the documentation is bind_textdomain_codeset() explained? I can't
find it. There is no manual page for it, and it's quite difficult to find
something in the info files. A grep didn't locate it.
--
I recommend ordering large cargo containers of paper towels to make up
whatever budget underruns you have. Paper products are always useful and they
have the advantage of being completely flushable if you need to make room in
the storage area later.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.moolenaar.net \\\
((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/