<div class="row" style="padding-top:1em;">
<p">ĄąĆćĘꣳŃńÓ󌜯żŹź - This paragraph is in the layout file. All 18 diacritics are fine</p>
<?php echo $content ;?>
</div>
about.php (the file rendered in $content):
<?php
?>
<div class="site-about">
<p>ĄąĆćĘꣳŃńÓ󌜯żŹź - This paragraph is in the rendered content file. Diacritics are messed.</p>
</div>
Any idea why Polish diactritcs are not rendered properly while page code is injected into layout?
Thanks ahead!
(PHP 5.6.9 on Windows 7 x64, Yii 2.0.5, page encoding: UTF-8
Indeed - while saving from Notepad as “UTF-8 without BOM” - it’s fine now. I must check PHPStrom 9 configuration. They had to change something as I never seen this issue with PHPStrom 8 or 7!