Answer the question
In order to leave comments, you need to log in
How to output Cyrillic from MySQL via PHP?
When I take out the Cyrillic alphabet from the database, it displays kryakozyabry.
In php immediately after I tried to write the following:
mysqli_query($sql, "SET NAMES 'utf8'");
mysqli_query($sql, "SET CHARACTER SET 'utf8'");
Does not help.
Everywhere there is UTF-8 encoding.
This is how the word User displays: Џ®«m§®ў vҐ«m
In the console it is displayed normally, crackling when output to the browser.
What could be the problem?
Answer the question
In order to leave comments, you need to log in
Check in what encoding the bracelet sees the page and in what file the file is saved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question