Hi all I have a problem with accent or special characters à è ì ò ù.
In a fresh yii2 installation i change views/site/index.php
<h1>Congratulations!</h1>
with
<h1>à - è - ì - ò - ù</h1>
My bad result is:
If i look at source html code of the page i see that meta charset utf-8 is right, but the strings into <h1> are already bad codified
In I try to edit manually <h1> field works fine.
Another try i made is to create a new test.php file in my webserver:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>à - è - ì - ò - ù</h1>
</body>
</html>
and it works fine.
So i think is not my problem in php.ini or apache config, or in my html page, but there’s something wrong into Yii2 when get the view code with accents and generate the output page.
But I can’t find where…
Can someone help me plz?
Thank’s a lot