Jump to content
Larry Ullman's Book Forums

Recommended Posts

In the connection scripts, the set charset functions use 'utf8'

 

e.g.

 

mysqli_set_charset($dbc, 'utf8'); (Script 9.2 - mysqli_connect.php)

 

$mysqli->set_charset('utf8'); (Script 16.1 - mysqli_oop_connect.php)

 

Is there a difference between 'utf8' and 'utf-8' ?

 

Thanks

Gary

Link to comment
Share on other sites

 Share

×
×
  • Create New...