On Dec 25, 2010, at 21:10 , alcohol wrote:
without std::wstring support,  how can we deal with strings consists
of  Ascii, Chinese,Japanese, Korean characters?


It is expected that you put UTF-8 encoded characters into protocol buffer strings. Alternatively, you can use the bytes type and use any encoding you want, but then you'll need to handle the conversions, whereas if you use Java, the protocol buffer API handles conversions for you (to/from Java String, which uses Unicode). Hope that helps,

Evan

--
Evan Jones
http://evanjones.ca/

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

Reply via email to