setCharset

Use this to set mysqli connection to your desired charset

You must use it if you have utf8 character in your data

Arguments
Name Type Description Required
charset string Your desired charset yes

Output : bool

Static or normal : Static

Examples :

mysql::setCharset('utf8mb4');