bind_textdomain_codeset
Specify or get the character encoding in which the messages from the DOMAIN message catalog will be returned
&reftitle.description;
stringfalsebind_textdomain_codeset
stringdomain
stringnullcodeset
bind_textdomain_codeset allows to set or get the
encoding in which messages from domain will be returned by
gettext and similar functions.
&reftitle.parameters;
domain
The domain.
codeset
The code set.
If &null;, the currently set encoding is returned.
&reftitle.returnvalues;
A string on success.
&reftitle.changelog;
&Version;
&Description;
8.0.3
codeset is nullable now.
Previously, it was not possible to retrieve the currently set encoding.
&reftitle.notes;
The bind_textdomain_codeset information is maintained per process,
not per thread.