You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by herrygoon <he...@hotmail.com> on 2009/06/10 05:12:22 UTC

message content with simplified chinese produce grabled characters

Hi,everyone:
   Does anyone using the activemq to send simplified chinese message to a
queue using JMS?
   When I watch the message using http://localhost:8161/admin ,I found the
content of the message
   is ??,so How can I solve this problem? Or does activeMQ has any place to
set the charset like the 
   MQSeries CCSID?
  
-- 
View this message in context: http://www.nabble.com/message--content-with-simplified-chinese-produce-grabled-characters-tp23954960p23954960.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: message content with simplified chinese produce grabled characters

Posted by Hiram Chirino <ch...@gmail.com>.
if you take the message out using JMS is the content ok?

I suspect that perhaps it's just the web console which is not properly
handling page encodings.

On Tue, Jun 9, 2009 at 11:12 PM, herrygoon<he...@hotmail.com> wrote:
>
> Hi,everyone:
>   Does anyone using the activemq to send simplified chinese message to a
> queue using JMS?
>   When I watch the message using http://localhost:8161/admin ,I found the
> content of the message
>   is ??,so How can I solve this problem? Or does activeMQ has any place to
> set the charset like the
>   MQSeries CCSID?
>
> --
> View this message in context: http://www.nabble.com/message--content-with-simplified-chinese-produce-grabled-characters-tp23954960p23954960.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://fusesource.com/

Re: message content with simplified chinese produce grabled characters

Posted by herrygoon <he...@hotmail.com>.
well,I have test sending simplified chinese use the webconsole,that is ok.
using the JMS TextMessage to send simplified chinese messages to the queue
,the message not only in the webcosole queue is grabled characters, but also
received by the java code  .after I change the TextMessage to StreamMessage
and using 
StreamMessage streamSMG = session.createStreamMessage();
streamSMG.writeString(msg);

that is ok ,there is no grabled characters, I cannot see any message from
the webconsole queue, but  can get the message from the queue using java
code

herrygoon wrote:
> 
> Hi,everyone:
>    Does anyone using the JMS TextMessage to send simplified chinese
> messages to the queue?
>    When I watch the message using http://localhost:8161/admin after
> sending,I found the content of the   message  is ?? (grabled
> characters),so How can I solve this problem? Or does activeMQ has any
> place to set the charset like the  MQSeries CCSID?
>   
> 

-- 
View this message in context: http://www.nabble.com/message--content-with-simplified-chinese-produce-grabled-characters-tp23954960p23991624.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.