zoukankan      html  css  js  c++  java
  • vim学习笔记(11):vim 去掉<200b>

    vim查看文件,发现多了<200b>字符,使用/200b搜索匹配不上;
    grep 200b 也匹配不上

    查询后才知道:
    200b是:Unicode Character 'ZERO WIDTH SPACE' (U+200B)
    参见:
    http://www.fileformat.info/info/unicode/char/200B/index.htm

    处理方法见:
    http://superuser.com/questions/207207/how-can-i-delete-u200b-zero-width-space-using-sed

    sed 's/xe2x80x8b//g' inputfile

  • 相关阅读:
    团购网站之大众点评
    cas xml
    smsUtil
    solr配置
    xml
    yu
    Schema.xml
    ApplicationContext-redis.xml
    fast
    第一版
  • 原文地址:https://www.cnblogs.com/lovychen/p/8669719.html
Copyright © 2011-2022 走看看