作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

我的客户去除分页

... ... @@ -722,8 +722,8 @@ class Auth
}
$fchar = ord($str{0});
if ($fchar >= ord('A') && $fchar <= ord('z')) return strtoupper($str{0});
dump(iconv('UTF-8', 'UTF-8', $str));exit;
$s1 = iconv('UTF-8', 'UTF-8', $str);
dump(iconv('gb2312', 'UTF-8', $str));exit;
$s1 = iconv('gb2312', 'UTF-8', $str);
$s2 = iconv('gb2312', 'UTF-8', $s1);
$s = $s2 == $str ? $s1 : $str;
$asc = @ord($s{0}) * 256 + @ord($s{1}) - 65536;
... ...