Problems with characters in php, with utf-8. How to solve? [duplicate]

-3

I created a table in php that returns MYSQL data in phpadmin, however the information returned in the table is coming like this:

"Data Mining and Simulation"

Notice the next question mark in place of TIL accents.

I put UTF8 unicode CI, but it still does not work. Any suggestions on what to do?

    
asked by anonymous 08.09.2016 / 18:19

2 answers

1

You can also use mysqli_set_charset($conn, 'utf8');

    
08.09.2016 / 18:32
-1
@header( "Content-Type: text/html; charset=ISO-8859-1", true );

Solution above.

    
08.09.2016 / 18:28