View Single Post
Old 08-05-2014, 12:51 PM   #8
Keltia
Member
Keltia began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2013
Device: Pocketbook Lux 3 / iPad Mini retina/iPhone 6
Quote:
Originally Posted by kovidgoyal View Post
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.
Keltia is offline   Reply With Quote