leungeric.com

Digg del.icio.us Technorati StumbleUpon Twitter

Turning MySQL Data to UTF-8

MySQL | PHP | Tutorials & Resources

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Just add below line after MySQL connection is establisted:

mysql_query(”SET NAMES utf8″);

  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Reddit
  • TwitThis
  • Sphinn
  • BlinkList
  • Furl
  • Mixx
  • NewsVine
  • Slashdot
  • Ma.gnolia
  • Facebook
  • Google
  • E-mail this story to a friend!

No Comments, Comment or Ping

Reply to “Turning MySQL Data to UTF-8”

Sponsors