[ 
https://issues.apache.org/jira/browse/QPID-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547897#comment-14547897
 ] 

Nikita Konev commented on QPID-6545:
------------------------------------

Thank you, i tested you workaround.
Also I have to make reverse translation at receive side:

topic = bytesMessage.getStringProperty("topic");
char[] chars = topic.toCharArray();
byte[] topicBytes = new byte[chars.length];

for(int j = 0; j < chars.length; j++)
{
        topicBytes[j] = (byte) chars[j];
}
topic = new String(topicBytes, Charset.forName("UTF8"));

Can you tell he when it will be fixed?

> malformed cyrillic strings that passed as TextMessage's property
> ----------------------------------------------------------------
>
>                 Key: QPID-6545
>                 URL: https://issues.apache.org/jira/browse/QPID-6545
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.32
>         Environment: Windows 8 x84 Russian, RabbitMQ 3.1.5
>            Reporter: Nikita Konev
>         Attachments: Runner.java, screenRabbit.png
>
>
> When I attempt pass string that contains cyrillic symbols, it is malformed.
> I see malformed string in Rabbit's web interface and in java code which 
> receives messages from Rabbit.
> Java src in utf8 Runner.java:38 and rabbit's screen attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to