أداة فك تشفير عنوان URL على الإنترنت
فيأداة فك تشفير عنوان URL على الإنترنت:
يمكن أن تساعدك أداة فك تشفير عنوان URL عبر الإنترنت في تحويل سلسلة تنسيق عنوان URL إلى سلسلة UTF-8 عادية.
عنوان تحويل عنوان URL:
| 21٪ | 23٪ | 24٪ | 26٪ | 27٪ | 28٪ | 29٪ | ٪ 2A | ٪ 2B | ٪ 2C | ٪ 2F | ٪ 3A | ٪ 3B | ٪ 3D | ٪ 3F | 40٪ | ٪ 5B | ٪ 5D |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ! | # | $ | & | ' | ( | ) | * | + | , | / | : | ; | = | ? | @ | [ | ] |
حساب فك تشفير عنوان URL لسلسلة في Python:
import urllib.parse
def url_decode(input_str):
output_msg = urllib.parse.unquote(input_str).strip()
return output_msg
حساب فك تشفير URLL لسلسلة في Java:
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
public class URL {
public static String url_decode(String url) throws UnsupportedEncodingException {
return URLDecoder.decode(url, "UTF-8");
}
public static void main(String[] args) throws UnsupportedEncodingException {
String result = url_decode("https%3A%2F%2Fmaps.google.com%2Fmaps%3Fll%3D37.413323%2C-122.081267%26z%3D11%26q%3DMountain+View+California+USA");
System.out.println(result);
}
}
-------------------
https://maps.google.com/maps?ll=37.413323,-122.081267&z=11&q=Mountain View California USA