在文件路径搜索或者文件中内容搜索

   1、网址中文-Unicode-UTF8等相互转换    
    grep搜索中文字符串
    https://www.iyunv.com/thread-147158-1-2.html shell grep正则匹配汉字
    http://www.qqxiuzi.cn/bianma/Unicode-UTF.php Unicode和UTF编码转换
    输入:图
    输出:
    Unicode编码:000056FE 
    UTF8编码:E59BBE 
    UTF16编码:FEFF56FE 
    UTF32编码:0000FEFF000056FE
2、windows7文件内容搜索工具    
    FileSeek pro 不支持中文搜索
    EveryThing不支持文件内容搜索
3、android-shell、git-bash-shell、Mingw64-shell、linux-shell搜索方法    
    android :adb shell
    $ grep -nrs "禁止"

    Mingw64-shell可以支持中文搜索:
    host-name@host-name-l1 MINGW64 /e/gitcode/My_App (Local_Int_1)
    $ cd ../../../
    host-name@host-name-l1 MINGW64 /
    $ cd c:
    host-name@host-name-l1 MINGW64 ~/Desktop/priv-app
    $ grep -nrs "截图"
    Binary file common_app/common_app.apk matches

发布了71 篇原创文章 · 获赞 8 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/QQ18334373taikongyi/article/details/82595027