After transferring the site to another hosting, there was a problem with the regulars (before that there were no such problems, so this is the ratio of the event with hosting). In short, there is a regular `
$country = preg_replace('/[^А-Яа-яA-Za-z ]/', '', $_POST['country']);
For example, if the country "Russia" is entered, then it is written into the database as Russia, similarly with other countries, and the letters are each differently replaced with "?". If you write a regular season this way, everything is displayed normally: `
$country = preg_replace('/[^АБВГДЕЁЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзиклмнопрстуфхцчшщъыьэюя]/', '', $_POST['country']);
What is the problem?