有人知道用PHP编写的类来解码PDU消息吗?
我在http://rednaxela.net/pdu.php上找到了一个适用于JavaScript的版本,但我需要花时间才能适应它。
谢谢您抽时间见我。
发布于 2014-03-02 10:36:22
function DecodePDU($sString = '') { $sString = pack("H*",$sString); $sString = mb_convert_encoding($sString,'UTF-8','UCS-2'); return $sString; }
https://stackoverflow.com/questions/8717679
相似问题