Get ant concat to ignore BOM's'?

Posted by Breck Fresen on Stack Overflow See other posts from Stack Overflow or by Breck Fresen
Published on 2010-04-30T06:37:34Z Indexed on 2010/05/01 22:37 UTC
Read the original article Hit count: 365

Filed under:
|
|
|

I have an ant build that concatenates my javascript into one file and then compresses it. The problem is that Visual Studio's default encoding attaches a BOM to every file. How do I configure ant to strip out BOM's that would otherwise appear in the middle of the resulting concatenated file?

My googl'ing revealed this discussion which is the exact problem I'm having but doesn't provide a solution: http://marc.info/?l=ant-user&m=118598847927096

© Stack Overflow or respective owner

Related posts about js

Related posts about ant