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
Parameters
domain
-
The domain.
codeset
-
The code set.
If null, the currently set encoding is returned.
Return Values
A string on success.
Errors/Exceptions
Throws a ValueError if domain
is the empty string.
Notes
Note:
The bind_textdomain_codeset() information is maintained per process,
not per thread.