Good evening. Sending a GET request to the database with such a link

 http://192.168.1.134/addItem.php?name=Славные парни&plc=ул. Кутузова, д.11А&prc=196&lplc=111&type=Детское&web=mcc.org&time=11.13.16 10:40&minfo=Что бывает, когда напарником брутального костолома становится субтильный лопух? Наемный охранник Джексон Хили и частный детектив Холланд Марч вынуждены работать в паре, чтобы распутать плевое дело о пропавшей девушке, которое оборачивается преступлением века.&img=http://www.kinopoisk.ru/images/film_big/841152.jpg&sinfo=Что бывает, когда напарником брутального костолома становится субтильный лопух? 

In this case, they come to the database in the wrong encoding. Encoding mysql tables - ut8_general_ci

How to make data transmitted in normal encoding?

Closed due to the fact that the question is too general for the participants cheops , zRrr , aleksandr barakin , VAndrJ , PashaPash 10 May '16 at 7:47 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • What is a "normal" encoding? Show what comes up. - Kromster
  • What is in the addItem.php script? In what form is the data stored in the MySQL database? - cheops

1 answer 1

After connecting to the database, try using mysqli_set_charset .

You can also run in phpmyadmin after selecting a database:
show variables like 'char%';

The result will be a table like:

enter image description here
Maybe you have a base in one encoding and a table in another, so problems arise.