I want to cat multiple UTF-8 text files together without having multiple BOM's in the middle of the file. Is there a proper way to do this besides stripping the BOM from each file?
My issue is that, after stripping the BOM and catting the files together, I'm having trouble copying the data to a Postgres table. Postgres is complaining that the data is not UTF-8. I am able to copy one of the small, original with BOM files just fine. Just the combined file with all the BOMs stripped is causing issues.
Thanks.