On Sun, Oct 18, 2009 at 1:07 PM, [email protected] <[email protected]
> wrote:

> The Language Guide describes the "string" scalar data type as "A
> string must always contain UTF-8 encoded or 7-bit ASCII text." does
> this include the ASCII control character below 0x20? At least XML does
> not allow these characters (but three of them) - there is no way to
> serialize such a string in XML (see
> http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-Char
> for allowed Unicode codes).
>

Protocol Buffers accepts the entire ASCII range in strings, including
control characters, yes.


> I also like to know whether the float and double types represent the
> floating point number as defined by IEEE 754 including its special
> values signaling NaN, quiet NaN, -0.0, -Inf, +Inf or do this values
> get lost on serialization?
>

The encoding for floats and doubles *is* IEEE-754.  (Hmm, maybe the encoding
documentation should be clearer on that.)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to