比如转换后缀为 php 的文件。
enca -L zh_CN -x UTF-8 *.php
子目录的话
enca -L zh_CN -x UTF-8 **/*.php
https://winddoing.github.io/post/38869.html