LINUX下查看文件编码
工具:enca
1 2 3 4 | wget http://dl.cihar.com/enca/enca-1.13.tar.gz tar xzvf enca-1.13.tar.gz ./configure make && make install |
里面有enca和enconv两个工具可以查看和转换编码
[cc lang="bash"]
[root@gateway /]#enca -L none test.php
Universal transformation format 8 bits; UTF-8
Related posts:
- virtualbox克隆 1234567[root@gateway ~]# VBoxManage clonehd /root/.VirtualBox/HardDisks/node1.vdi /root/.VirtualBox/HardDisks/node1_0.vdi VirtualBox Command Line Management...
- find匹配除某一类型文件以外的所有文件,并执行命令 这条命令匹配除PHP以外的所有文件,并赋644权限。 12cd / find /www/test -name "*.[!p][!h][!p]" -exec chmod 644...
以上关联文章由 Yet Another Related Posts Plugin 提供支持。
发表评论
