It is an issue of Notepad++.
If I open autogenerated file in Notepad++ it shows that encoding is ANSI, but if I open the same file in PhpStorm, it shows that encoding is UTF-8.
Change encoding to UTF-8 manually.
There is no such thing as encoding in metadata.
BOM is a way to store encoding information in the file, but nobody likes it.