GemConnectForRabbitMQ and Unicode

Problem when creating header contents for RabbitMQ messages

Now, another Unicode error is coming up in this connector.

When building headers for a RabbitMQ message and you use a non-ansi strings as the content for a header entry, it may happen, that you get an exception.

The problem is mentioned in issue #8, where the code is not locating enough external memory for an utf8 encoded string – due to the fact, that the source is a DoubleByteString and the size needed is calculated in a wrong way.

Tags:

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.