I can read SAP table DBTiblogged data in Java application using SAP JCO
In this table, raw data (Data type: LRAW) is one of the columns, it is impossible to understand the content.
How can we convert this raw data into a readable format in Java? Any ideas would be welcome.
using javax.xml.bind.DatatypeConverter.printHexBinary
similar situation Worked for me in
In addition, we can also convert the byte to a readable string to use the Java string
constructor.
String readable String (bytes)
or
Experiment with character encoding
String Readable String (Bytes, "UTF-16")
No comments:
Post a Comment