On Mon, Sep 22, 2014 at 1:22 PM, Alan Conway <[email protected]> wrote: > > Nope, see above about confusion of 'string' vs. 'str', 'bytes' and > 'unicode'. > > > That's not how I read the > > documentation, but I could be wrong, perhaps it's some sugar of the > > Python API, but TBH I thought that it behaved pretty much like the > > JavaScript API and would call pn_data_put_string if the body was a > string. > > > > > > Could you please clarify? > > Yep, the confusion here comes from python. I think you are on the right > track. > > Regarding strings that byte, here's a table and some notes I put together a while ago. I was attempting to find some way better way to handle languages with ambiguous string types.
https://cwiki.apache.org/confluence/display/qpid/Language+support+for+unambiguous+text+string+and+byte+array+types
