Answer the question
In order to leave comments, you need to log in
API does not work when Russian characters are displayed. Why?
Hello, please help me with one question. We made an API for the site and there was a problem when you run the script and only English characters are taken from the database, everything works fine, but as soon as you force the script to display Russian characters from the database, everything stops working and just a white screen. We looked at the logs, errors in PHP were displayed, everything is fine, there are no errors. Tried to change the encoding in the database did not help. What could be the problem?
Answer the question
In order to leave comments, you need to log in
Database encoding, database connection encoding, encoding of the file from which the connection to the database is made.
The white screen is the absence of characters - don't you find it? It is unlikely that the matter is in the encoding - rather in the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question