diff options
| author | Gordon Sim <gsim@apache.org> | 2012-11-19 12:43:16 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2012-11-19 12:43:16 +0000 |
| commit | dc0f5e571a32c9ff5a9d9687d565f3e52540331a (patch) | |
| tree | 313f16da6091fadda76741052344accba9e15e42 /cpp/examples | |
| parent | daf72b05c0d3c205133cfbafecb7530fae79e500 (diff) | |
| download | qpid-python-dc0f5e571a32c9ff5a9d9687d565f3e52540331a.tar.gz | |
QPID-4442: make spout example send properties as utf8 strings
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1411154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
| -rw-r--r-- | cpp/examples/messaging/spout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/examples/messaging/spout.cpp b/cpp/examples/messaging/spout.cpp index cd11a7ad81..72fcdc7c65 100644 --- a/cpp/examples/messaging/spout.cpp +++ b/cpp/examples/messaging/spout.cpp @@ -91,6 +91,7 @@ struct Options : OptionParser std::string value; if (nameval(property, name, value)) { message.getProperties()[name] = value; + message.getProperties()[name].setEncoding("utf8"); } else { message.getProperties()[name] = Variant(); } |
