If ISO-8859-1 then (HTML Text: GOOD, MySQL Data: BAD)
if UTF-8 then (HTML Text: BAD, MySQL Data: GOOD)
What can I do to solve it?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to get the encoding of your HTML page and that of the database data in sync.
UTF-8 is probably the best way to go. If you save your HTML page as UTF-8 (there should be a setting in your editor/IDE) things should work fine.
Make sure your page sends the correct
content-typeas well.