标签: php decode
有没有人知道编写的PHP类来解码PDU消息?
我在http://rednaxela.net/pdu.php找到了一个在线JavaScript版,但是我需要时间来适应PHP。
感谢您的时间。
答案 0 :(得分:-1)
function DecodePDU($sString = '') { $sString = pack("H*",$sString); $sString = mb_convert_encoding($sString,'UTF-8','UCS-2'); return $sString; }