If you want to write up a patch to recognize a UTF8 BOM and ignore it, go
ahead.  You can just modify the Tokenizer class to recognize and discard a
BOM appearing at the beginning of the input.

On Thu, Jul 2, 2009 at 1:31 PM, Marc Gravell <marc.grav...@gmail.com> wrote:

> OK... is there any way it /could/ silently ignore the BOM? ;-p
> I can try to advise the caller to use files without BOMs, but protoc
> reads UTF8 anyway it seems reasonable to accept a BOM?
> Marc
> >

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to