Page 1 of 1

bom cl

Posted: Mon Aug 18, 2014 8:14 pm
by ninger
I don't know how to skip over byte order marks,who can help me ?(using ccl)
thanks!

Re: bom cl

Posted: Fri Aug 22, 2014 8:01 am
by pjstirling
I'm not really clear on what you want. Do you want to write source code with an editor that inserts a BOM, or are you loading text from files that has a BOM?

Re: bom cl

Posted: Sat Aug 23, 2014 2:40 pm
by logxor
I assume you're working with UTF-16 files? I just tested this, and CCL consumes the BOM—in order to know the endianness—if I give :UTF-16 as the character encoding. If I give an explicit endianness with :UTF-16LE or :UTF-16BE character encoding, then the BOM gets read as just another character.

Re: bom cl

Posted: Wed Sep 03, 2014 8:36 am
by ninger
Sorry,
I read a csv file(utf-8 with bom) by cl-csv ,it can't work well.
THANK YOU!