I have imported some text from ISO-8859-1
to a UTF8
database after import i found that
has become two weird characters Â*
when I checked this with phpmyadmin I found it looks like Â
the Asterisk doesn't exist so I couldn't match it on a replace query, all what I want is to replace this character with a space via mysql query. thanks for your help
Try using utf8_encode before inserting it into the database.
You can UPDATE table fields with REPLACE(text_string, from_string, to_string)
function.. see http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace
after some check, I could match the required character combination Â+space
I could match the space with alt+0160
not normal space
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.