小编Dav*_*tin的帖子

findstr或grep自动检测字符编码(UTF-16)

我想做这个:

 findstr /s /c:some-symbol *
Run Code Online (Sandbox Code Playgroud)

或grep等价物

 grep -R some-symbol *
Run Code Online (Sandbox Code Playgroud)

但我需要该实用程序来自动检测以UTF-16(和朋友)编码的文件并适当地搜索它们.我的文件甚至还有字节排序标记FFEE,所以我甚至都没有寻找英雄的自动检测.

有什么建议?


我指的是Windows Vista和XP.

unicode windows-xp utf-16 findstr windows-vista

12
推荐指数
2
解决办法
1万
查看次数

标签 统计

findstr ×1

unicode ×1

utf-16 ×1

windows-vista ×1

windows-xp ×1