I also suspect that this is some encoding problem, but my suspicion is the problem happens before RT::Client::REST even hands you the data, and the display of the data with Data::HexDump is just a symptom - use Devel::Peek to really see what Perl is storing internally, maybe you could show that here. I haven't had a chance to look at the issue in detail myself, partly because I haven't yet found an RT ticket with a binary attachment to play with.
I see you reported #127288, but did you have a look at #90112, which seems to discuss a similar issue?
Just an idea, perhaps you could attach an example file that reproduces the issue to #127288? (Or, maybe someone knows of an RT issue with a binary attachment off the top of their head.)
In reply to Re: RT::Client turns occasional binary characters in to wide characters
by haukex
in thread RT::Client turns occasional binary characters in to wide characters
by wardmw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |