This is the preferred way to change the charset. Using mysql_query() to set it ( such as SET NAMES utf8) is not recommended. See the MySQL character set ...
www.google.com.tw