Jump to content

Strange Characters In Mysql


swetha

Recommended Posts

I had a similar issue when populating a database from an external feed that I had no control over but should have had the correct UTF8. If you are doing a similar thing then you could adjust the data as it is entered into the database

mysql_query("UPDATE tablename SET NAME = REPLACE(NAME,'–','') WHERE NAME LIKE '%–%'");

Link to comment
Share on other sites

Thanks for ur help.i removed the characters,but some 'square boxes' are there.how to remove that boxes?Once again thanks for ur help.

I had a similar issue when populating a database from an external feed that I had no control over but should have had the correct UTF8. If you are doing a similar thing then you could adjust the data as it is entered into the database
mysql_query("UPDATE tablename SET NAME = REPLACE(NAME,'–','') WHERE NAME LIKE '%–%'");

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...