Tuesday, September 26, 2017

Remove ZERO WIDTH NON-JOINER character ( in html)

  1. Run the below given search in Terminal (Linux) or Cygwin or BASH

    grep -rl $'\xEF\xBB\xBF' directory_path

    It will list out all the files that contains our HERO CHARACTER
    Open the file in VI

  2. vi file_path

  3. Set the no BOB

    :set nobomb

  4. Save and quit the file
    :wq

  5. Continue the steps 2 – 5 and change all the files character encoding

No comments:

Post a Comment