Bruno Haible wrote:

> Bram Moolenaar writes:
> 
> > Where in the documentation is bind_textdomain_codeset() explained?
> 
> $ info -f .../gettext-0.10.36/doc/gettext

Sorry, I don't use the info program.  Don't want to learn yet another set of
commands for something I hardly ever use...

> > I can't find it.  There is no manual page for it
> 
> Most GNU packages have a texinfo manual instead. Manual pages are
> maintained by volunteers working separately.

I don't understand why info pages are still used.  Man pages are the good-old
way to document programs on Unix.  Everybody knows how to use them.  HTML is
everywhere these days and supports links, pictures, etc.  So why add yet
another file format?  Anyway, this has noting to do with gettext itself...

> > it's quite difficult to find something in the info files.  A grep
> > didn't locate it.
> 
> Doesn't incremental search (Ctrl-S b i n d _ t e x t Ctrl-A)
> work for you?

Since I don't use the info program that doesn't work.

Ah wait, I was looking in the .35 version.  Apparently this is new in .36.
OK, the /doc/gettext.info-4 file contains the info I was looking for.  I'll
have to add a configure check for this function.

gettext .36 appears to compile cleanly on my FreeBSD 4.2 system.

Hmm, adding this to Vim, it doesn't appear to work.  Using a Japanese .po file
in euc-jp encoding works fine.  Switching to utf-8 doesn't show any
translation done.  I can't guess what is going wrong.
bind_textdomain_codeset() does return "utf-8".

Question: How do I know that the CODESET name is invalid?  That is, trying to
use it with iconv_open() will result in failure.

Well, I know iconv() works with "utf-8", so that can't be the problem...

-- 
Bad fashion can discourage normal people from interacting with the engineer
and talking about the cute things their children do.
                                (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/

Reply via email to