Home >Web Front-end >HTML Tutorial >Convert the URL to an incomprehensible encoding_html/css_WEB-ITnose
www.*****.com/ěЁňЙáД/ЖПЗЩ/mgqg/
What encodings are used to convert these two?
Does PHP have this conversion function?
$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
var url = "param=你好";var encodeUrl = escape(url);var decodeUrl = unescape(encodeUrl);
$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
How to convert other URL links into this encoding,
re
Others refer to other people’s websites, or what?
Whatever The URL is not fixed to a certain
. How can other URL links be converted into this encoding?
re
Are the others referring to other people’s websites, or what?
Whatever What URL? No fixed one
You don’t want to manually urlencode the links in the website
$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);