in reply to DBI and binary data type
That (the 0x02BE... form) is just a textual representation for the actual data (the "stange" characters). To get it in Perl, you could use:
HTHmy $hexform = '0x' . unpack "H*", $binary;
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
|---|