I'm having a problem with Wordpress migration, related to MySQL database.
I'm facing a charset encoding problem, so in the new hosting the letters with an accent, like "à", "è" are shown as a question mark.
I know from other projects that if, before a query I make this one
SET NAMES 'utf8'
the errors disappears.
I also tested it in a custom php page, trying to get a post content.
So, there is a way to tell wordpress to do this query before every post query?!