Solve charset issue with PHP and MySQL

QuestionsSolve charset issue with PHP and MySQL
sethbeckerman5 Staff asked 4 years ago

An old page has the current setup:

MySQL DB and tables:
HTML:

Everything works fine for years now.
Now I have downloaded the PHP files from FTP, updated the code and because my editor uses UTF8 I have issues with the presentation of the text from the PHP files.
If I change to the text from HTML files is displayed properly but not the text from the database.
If I set the DB and tables to and import data via , the text is presented correctly.
But the search does not work anymore?
I think UTF8 is more straightforward. What are the correct steps to solve this issue?


View on Stack Overflow