Diacritic problems having migrated from 3.2.1.1 to OJS 3.4.0.7

Having moved to a new server and upgraded from OJS 3.2.1.1 to OJS 3.4.0.7, I notice that we have sporadic problems with diacritics.

So, an article that used to be about ‘Lukács’ now displays as ’ Lukács’.

Our current database has the character encoding utf8mb4. I don’t have easy access to the old one, but imagine it was UTF-8.

Does anyone have any ideas whether I can put this right somewhere in the OJS config files?

Any suggestions would be welcomed.

Thanks.

Tim