Adding Byte-order-mark (BOM) to a file
1. save an empty file as UTF-8
2.
Looking for files having BOM
1. save an empty file as UTF-8
2.
cat thatfile your_file > new_file
Looking for files having BOM
fgrep -rl `echo -ne '\xef\xbb\xbf'` .
No comments:
Post a Comment