What is the correct way to create the database and tables in mysql 5.6 to meet Brazilian character standards?
The version of my php is 5.6 and I use the following information in the header of the php files
header('Content-Type: text/html; charset=utf-8');
and html is like this
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
But every time I look for data in the bank I need to use the functions
utf8_decode();
utf8_encode();
The database was created as follows: InnoDB, Collation: utf8_general_ci, how was it created correctly? or is it correct to use the php utf8 functions to correct the accent problem?