declare() with the encoding keyword specifies the encoding of the file that holds PHP script. This applies to the current file only.
encoding
<?php declare(encoding='UTF-8'); ?>
Documentation
Related : declare()
Contents: