Every once in a while, a customer from China will place an order on my site, and sometimes their name and address information will be written to the MySQL database in a series of characters that I can't identify or translate.
For example, the ship-to city of a recent customer appears to me like this:
·s¥_¥«ªo¾ô°Ï
I can say for certain that the database itself, and the fields that hold the customer information, are set to utf8_general_ci collation. The website itself used to have in its header the following content type declaration:
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
but this has been commented out in recent weeks, I believe in an attempt to discover why some Chinese order information was stored in characters like that. Before it was commented out, the same information above would appear like this:
�s�_���o����
Is there an online utility I can use to translate blocks of text in either of those formats into something readable that DHL or another shipping service can use? And how can I reliably prevent information from being stored that way in the future?