⊗ppPmBsEP 4 of 447 menu

Problem with Encodings

For the Russian text to be displayed correctly, several conditions must be met. Firstly, the encoding of the file itself must be utf-8. Secondly, you need to specify the encoding in the HTML code:

<meta charset="utf-8"> <?php echo 'моя первая программа'; ?>

Sometimes the described procedures do not help and then the mb_internal_encoding command can help:

<meta charset="utf-8"> <?php mb_internal_encoding('UTF-8'); echo 'моя первая программа'; ?>
byenru