PHP mysqli_character_set_name() Function
Example
Return the default character set of the database connection:
Definition and Usage
The mysqli_character_set_name() function returns the default character set of the database connection.
Syntax
mysqli_character_set_name(
connection
)
;
| Parameters | Description |
|---|---|
| connection | Required. Specifies the MySQL connection to use. |
Technical Details
| Return Value: | The default character set of the specified connection. |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual