PHP小技巧之UNICODE編碼轉中文漢字

PHP的方式爲:javascript function decodeUnicode($str) { return preg_replace_callback('/\\\\u([0-9a-f]{4})/i', create_function( '$matches', 'return mb_convert_encoding(pac
相關文章
相關標籤/搜索