java - Amazon SQS invalid binary character in message body -


I have a web app that sends messages to an Amazon SQA queue. Amazon sqs gives an 'AmazonSQSException' liberalization because the message contains an invalid binary character The message is a reference obtained from an incoming HTTP request. This is what it looks like:

> ^ FA 'A' A LT; 99> a e) J

It seems that letters in bold are invalid Characters Is Amazon an Easy Way to Filter Characters Accepted?

The message body contains the characters allowed by Amazon. I'm not sure whether 'regex me' should be used to replace illegal characters by ''

The language you are using, for example, many programming languages ​​allow you to translate Amazon specifications directly that you were associated with a regular expression, which means "not one or more characters in the permissible limits".

For example, Pearl:

Referrer = ~ s / [^ \ x {9} \ x {a} \ x {d} \ x {20} - \ x {D7FF} \ x {E000} - \ x {FFFD} \ x {10000} - \ x {10FFFF}} + // g;


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -