Home forums Using CanvasJS Issues retrievng data from MySql Reply To: Issues retrievng data from MySql

#7558

Anjali
Participant

Andres,

I just got it working by using $conn->set_charset(‘utf8’); before fetching the data. Please try with the below code.

$con = mysqli_connect("localhost","dbuser","dbpassword","database");
$conn->set_charset('utf8'); 

__
Anjali