grunt-replace icon indicating copy to clipboard operation
grunt-replace copied to clipboard

support BOM option

Open xuemengfei opened this issue 10 years ago • 5 comments

Because we are building projects with ASP.NET. We need BOM in the template file.

Hope this could be merge. Thanks!

xuemengfei avatar Mar 23 '15 07:03 xuemengfei

Hi pal, thks for your PR ..

what about that:

http://gruntjs.com/api/grunt.file#grunt.file.preservebom

??

outaTiME avatar Apr 30 '15 04:04 outaTiME

Once again, do you try with http://gruntjs.com/api/grunt.file#grunt.file.preservebom ?

outaTiME avatar Aug 06 '15 16:08 outaTiME

I'm so sorry, didn't see last email.

The preservebom option not work for me. Because I want to Add bom, not to Keep bom.

xuemengfei avatar Aug 07 '15 04:08 xuemengfei

Np, pal ...

Why not put bom in you source file ?? it will be preserved on target o not ??

outaTiME avatar Aug 20 '15 04:08 outaTiME

Because we use multiple IDE in our team. And I can't control everyone to let them add BOM in the source file :(

xuemengfei avatar Aug 24 '15 15:08 xuemengfei