Converting raw scriptPubKey to readable format
I figured it out. 

setps: 


Get the transactionID
RPCCall getRawTransaction transactionID - copy the rawTransaction
RPCCall decoderawtransaction rawTransaction - copy the scriptPubKey
RPCCall decodescript scriptPubKey