php - Same charset html and sql but errors -
in example i'm working html, php , sql. there sql table field "utf8_unicode_ci". want put field wich contains html code , italian text, chinese or russian html page displayed browsers.
into html page there this:
<meta charset="utf-8"> the problem text displayed strange charachters, can me please?
do set utf-8 on mysql connection? after connecting, execute query: set names 'utf8'
Comments
Post a Comment