www.LinuxHowtos.org
NE_I18N_INIT
Section: neon API reference (3)Updated: 30 September 2016
Index Return to Main Contents
NAME
ne_i18n_init - functions to initialize internationalization supportSYNOPSIS
#include <ne_i18n.h>
- void ne_i18n_init(const char *encoding);
DESCRIPTION
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
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
- Author.
COPYRIGHT