bind_textdomain_codeset
(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
bind_textdomain_codeset — Specify or get the character encoding in which the messages from the DOMAIN message catalog will be returned
Elenco dei parametri
domain
-
The domain.
codeset
-
The code set.
If null, the currently set encoding is returned.
Valori restituiti
Returns the encoding currently set for domain,
or false if none has been set or on failure.
On musl prior to 1.2.6, false is always returned.
Errori/Eccezioni
Throws a ValueError if domain
is the empty string or longer than 1024 bytes.
Note
Nota:
The bind_textdomain_codeset() information is maintained per process,
not per thread.