The URL contains escaped bytes unsupported by the UTF-8 encoding.<a href="'.urldecode($rows['books_add']).'">'.$rows['books_name'].'</a>
如果$rows['books_name'] 是一个包涵中文的网址,那就会显示
The URL contains escaped bytes unsupported by the UTF-8 encoding.
....
有什么解决方法. 初步认为是编码方式不一样的问题.
如果$rows['books_name'] 是一个包涵中文的网址,那就会显示
The URL contains escaped bytes unsupported by the UTF-8 encoding.
....
有什么解决方法. 初步认为是编码方式不一样的问题.
这有什么问题吗
我网站是用gb2312的/..
是URL的编码问题
嗯。是不是你写反了?既然urlencode入库就不应该这样写,改成如下试试?
<a href="'.$rows['books_add'].'">'.urldecode($rows['books_name']).'</a>