"Fossies" - the Fresh Open Source Software Archive

Member "neon-0.31.2/doc/man/ne_i18n_init.3" (20 Jun 2020, 2805 Bytes) of package /linux/www/neon-0.31.2.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "ne_i18n_init.3": 0.31.1_vs_0.31.2.

NE_I18N_INIT

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR
COPYRIGHT

NAME

ne_i18n_init − functions to initialize internationalization support

SYNOPSIS

#include <ne_i18n.h>

void ne_i18n_init(const char *encoding);

DESCRIPTION

The ne_i18n_init function can be used to enable support for translated messages in the neon library. The encoding parameter, if non−NULL, specifies the character encoding required for generated translated string. If it is NULL, the appropriate character encoding for the process locale will be used.

This call is only strictly necessary if either:

1. neon has been installed into a different prefix than the gettext implementation on which it depends for i18n purposes, or

2. the caller requires that translated messages are in a particular character encoding.

If ne_i18n_init is never called, the message catalogs will not be found if case (a) applies (and so English error messages will be used), and will use the default character encoding specified by the process locale. The library will otherwise operate correctly.

Note that the encoding used is a process−global setting and so results may be unexpected if other users of neon within the process call ne_i18n_init with a different encoding parameter.

SEE ALSO

ne_sock_init

AUTHOR

Joe Orton <neon@lists.manyfish.co.uk>

Author.

COPYRIGHT