This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

bom cl

4 posts · 4583 views

I don't know how to skip over byte order marks,who can help me ?(using ccl)
thanks!

Re: bom cl

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

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

Sorry,
I read a csv file(utf-8 with bom) by cl-csv ,it can't work well.
THANK YOU!