activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Problem with UTF-8 encoded characters
Date Fri, 28 Oct 2016 14:54:27 GMT
As I understand it, question marks typically indicate that the data
contains characters that the viewer can't display.  Your question sounds
like you think the problem is that ActiveMQ is somehow transforming the
content into a corrupted form, but it sounds to me like the data is being
transferred correctly by ActiveMQ but whatever means you're using to view
the message (which you haven't told us what it is) is unable to handle
UTF-8.

Is the hex representation of the content the same on both sides of the
ActiveMQ transfer?  If the bytes (or their hex representation) match, then
ActiveMQ isn't corrupting the content.

Tim

On Oct 28, 2016 7:05 AM, "Ajay Jindal" <ajay.kumar@adeptia.com> wrote:

>
> Hi
>
> I am having a problem with UTF-8 encoded characters (for eg: 'å,ø'). When I
> send it as a message to the queue and then receive it, I get a value that
> like '?' for all special characters.
> I have tried to pass the file.encoding parameter as a JVM option e.g.
>  -Dfile.encoding="UTF-8"
> But still I  am having same problem.
> Can you please let me know, how can I solve this problem? Is there anything
> that I am missing?
>
> Thanks in advance.
>
> Regards,
> Ajay
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Problem-with-UTF-8-encoded-characters-tp4718607.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message