Hello. Actually, I had a problem when applying string functions (transformations) to strings containing Russian characters and then writing the result to an HTML file. For example, I do this:
$str = 'строка строка страница страница'; $str2 = strrev($str); $f=fopen("htmlik.html","a+"); fputs($f,$str2); fclose($f);
And the question marks, diamonds, small squares, in general, everything except the fact that there really should be are written to the file ... Already in .htaccess it climbed and changed the default Russian encoding setting there, but nothing helps! Please help me ... thanks ....