php protection

app-user

Member
I'm creating a test script and enabling protection — the text stops displaying correctly.

I tried both UTF-8 and UTF-8 without BOM for the file encoding.

<?php
header('Content-Type: text/html; charset=UTF-8');
echo "Привет! Это проверка кодировки UTF-8.";
?>

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Any new on this? I suffer the very same issue with latin characters (version 2024.0), as soon as i turn on internal protection, it breaks the encoding in scripts that works perfectly before this security setting (UTF-8) without BOM
 
If you have a very simple sample that would let us reproduce the issue, please provide it, as we're not able to get this problem here.
 
Back
Top