Tim,

Thank you for your answer. Howerver that brings another question :-). This is 
not something I need but what someone having UTF-8 strings (containing japanese 
text coming from a db for instance and stored into C++ std::string objects) 
could do to send his messages as is to the broker with activemqcpp?

Is there a way to tell the API to skip the UTF-8 conversion?

Greetings,
Olivier

> > Is the createTextMessage() function expect UTF-8 strings or regular ASCII
> strings are fine?
> >
> A methods in the CMS API that have string parameters expect standard C++
> strings that have been populated with ASCII values in the range 0-255.
> The UTF-8 conversion happens when the message is sent to the ActiveMQ
> broker which is a Java application whose strings are encoded in modified
> UTF-8.
> 
> Regards
> Tim.
> 
> 
> 
> 
> --
> Tim Bish
> http://fusesource.com
> http://timbish.blogspot.com/
> 
> 

Reply via email to