Posted By

ginoplusio on 11/04/09


mysql php utf8 encoding

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Stop utf8 problems with mysql

 / Published in: MySQL


  • fields on db with utf8generalci collation
  • make this query after any connection
  • put meta charset utf8
  • read and write strings without problems
  1. SET NAMES 'utf8';

Report this snippet  

You need to login to post a comment.