Hello, there was a problem, they said to screw the payment gateway free-kassa and now I have a huge problem with writing to the database.
We are sent a request:
MERCHANT_ORDER_ID = 1000 + +% EF% EE% E4% EF% E8% F1% F7% E8% EA% EE% E2 +% ED% E0 +% EB% E8% F7% ED% F3% FE +% F1% F2% F0% E0%ED%E8%F6%F3+%28VK%29&P_PHONE=&P_EMAIL=test%40yandex.ua&CUR_ID=45&AMOUNT=3&MERCHANT_ID=38053&SIGN=5bc4c57fc7769ed8b2a1c75kd/an/x75/1 of 5
I write it separately in a file, and separately in a DB. So, everything is written in the file normally, but the information in Cyrillic is not written in the database. And the funny thing is, I have already separately recorded the SQL query that PHP produces and manually generated it in the PMA and everything was recorded perfectly, but through mysql_query, nothing at all, instead of Cyrillic, nothing.
I tried to change the encoding of windows-1251 DB (for even in it we transfer data to the gateway, but everything is still written in the file) and in no way, the same result.
UPD: Support answer: "There was support7A, yes) they did not decide to write everything in Latin." Transformation to base64 also did not help because of the encoding (see comments). Perhaps there will be more suggestions?
