Posted By

ginoplusio on 11/04/09


Tagged

mysql php utf8 encoding


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

virendrakryadav


Stop utf8 problems with mysql


 / Published in: MySQL
 

URL: http://www.barattalo.it/2009/11/09/stop-utf8-problems-with-italian-characters/

  • 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.