Hello,

Maybe a stupid question on my part... But, is the thing being encoded
always a character? In C++ terms, char, or unsigned char? That is to
say, the range of valid values is more or less equal to
numeric_limits<char>::min() ::max()? Or the same for
numeric_limits<unsigned char>?

strLit = ( "'" { charValue } "'" ) | ( '"' { charValue } '"' )
charValue = hexEscape | octEscape | charEscape | /[^\0\n\\]/
hexEscape = '\' ( "x" | "X" ) hexDigit hexDigit
octEscape = '\' octalDigit octalDigit octalDigit
charEscape = '\' ( "a" | "b" | "f" | "n" | "r" | "t" | "v" | '\' | "'" | '"' )
quote = "'" | '"'

I think Octal can support through 512, whereas Hex supports through
256. But apart from that, basically the char or unsigned char limits?

Thanks!

Cheers,

Michael Powell

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to