...
|
...
|
@@ -67,6 +67,8 @@ class LightService |
|
|
public function strtoascii2($str="")
|
|
|
{
|
|
|
$str = mb_convert_encoding($str, 'GB2312');
|
|
|
var_dump($str);
|
|
|
exit();
|
|
|
$change_after = '';
|
|
|
for ($i = 0; $i < strlen($str); $i=$i+2) {
|
|
|
$change_after .= dechex(ord($str[$i])).dechex(ord($str[$i+1]));
|
...
|
...
|
|