Revision #14 has been created by Kostas Apazidis (KonApaz) on Jul 18, 2014, 8:08:35 AM with the memo:
version
« previous (#13) next (#15) »
Changes
Title
unchanged
Remove Byte Order Mark (BOM) from files recursively
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
without, BOM, utf-8, folder, files, recursive
Content
unchanged
[...]
while read l; do sed -i '1 s/^\xef\xbb\xbf//' $l; done < file_with_boms.txt
```
Thats it! The BOM will be removed from all files that contained it. Now you can upload your project on your server.
**Note:** Because I didn't use this way many times and I don't know if it works properly for all cases and files, make first a backup of your project! :)