Answer the question
In order to leave comments, you need to log in
How to deal with php/ispmanager encoding?
Hello. An incomprehensible problem for me, defying logic...
In the ISP manager, in the PHP settings it says:
htaccess is written (similarly in the config for the domain):
AddDefaultCharset UTF-8 I create a test.js
file on the site
, I write to it: direct link https://site.ru/test.js , I see this:
But if I rename the file to .php - everything is fine, the Russian text is displayed there as expected ....
The encoding of the test.js file is also UTF-8, respectively
Where looking for a problem? // Привет
// Привет
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question