Quote:
Originally Posted by kovidgoyal
Really? What tools are you using that cannot deal with a BOM.
calibredb catalog t.csv && calibre-debug -c "f = open('t.csv', 'r+b'); raw = f.read(); f.seek(0); f.truncate(); f.write(raw[3:])"
|
I ended up using that (but my script is in Ruby) to remove the BOM. The CSV converter was taking the BOM as part of the first header name. My point is that the BOM is not needed in UTF-8 at all.