Comment #7 on issue 322 by Add support for parsing text files that contain a BOM, or UTF preamble for protoc.exe input

Why not just ignore this specific character? It's a simple test done only on the first character of the file. Protobuf still work with UTF-8 files without BOM as far as you don't use non-ascii characters (which I think is the case of all user scripts) so this test is just making things complicated for users of several different text editors. Can't you do the test and ignore the first character if it's BOM, and clarify the message as you suggested for all other non-ascii character values?

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

Reply via email to