The mysqli_character_set_name() function returns the default character set for the current
connection. This tells us how special characters will be stored and displayed.
Practical use: For proper display of special characters, this function should return
utf8mb4.
latin1 can cause issues with special characters.mysqli_set_charset().