/ Published in: PHP

Function to fix char set and collation on mysql tables, see [this link](http://www.barattalo.it/2010/02/11/php-function-to-fix-collation-on-database-fields-of-mysql/ "Fix encoding on db")
for examples and more infos.
for examples and more infos.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function fix_encoding($reg='//',$set='utf8',$collation='utf8_general_ci') { echo $row[0] . " converted<br />"; } } }
URL: http://www.barattalo.it/2010/02/11/php-function-to-fix-collation-on-database-fields-of-mysql/
Comments
