Answer the question
In order to leave comments, you need to log in
The encoding of Russian letters in the connected php blocks has disappeared. How to do everything correctly?
I started splitting the page into php blocks in order to display them in the general index.php using include, and the encoding of the connected blocks fell off.
Do I need to write something in each block? How to do it right at all?
Answer the question
In order to leave comments, you need to log in
In general, it is recommended to change the file encoding to utf-8, then add AddDefaultCharset utf-8 to the .htaccess file
And you can also write it in the HTML document (If HTML5)
If you are using the Denwer package, then you should also change the following line in the usr\local\apache\conf\httpd.conf file :
me in due time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question