This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gettext output character set


Bruno Haible <haible@ilog.fr> writes:

> 2000-04-29  Bruno Haible  <clisp.cons.org>
> 
> 	* intl/libintl.h (bind_textdomain_codeset): New declaration.
> 	* intl/bindtextdom.c (set_binding_values): New function.
> 	(bindtextdomain): Call it.
> 	(bind_textdomain_codeset): New function.
> 	* intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
> 	(free_mem): Free each binding's codeset.
> 	* intl/gettextP.h (struct binding): Add codeset field.
> 	(_nl_find_domain): Add domainbinding argument.
> 	* intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
> 	Pass it to _nl_make_l10nflist.
> 	* intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
> 	(_nl_make_l10nflist): Add domainbinding argument.
> 	* intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
> 	* intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
> 	codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
> 	locale_charset().
> 	* manual/message.texi: New node "Charset conversion in gettext".

Thanks, I've applied the patch.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]