Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 偶然发现徽章和西班牙语字符_Html_Url_Badge - Fatal编程技术网

Html 偶然发现徽章和西班牙语字符

Html 偶然发现徽章和西班牙语字符,html,url,badge,Html,Url,Badge,将stumbleupon徽章代码用于url,如 http://www.test.com/¿cómo_se_dice 使用以下代码段 <script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.test.com/¿cómo_se_dice"></script> 它会将url识别为http://www.test.com/cmo_se_dice并删除西班牙语字符 在将url添加

将stumbleupon徽章代码用于url,如

http://www.test.com/¿cómo_se_dice
使用以下代码段

<script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.test.com/¿cómo_se_dice"></script>

它会将url识别为
http://www.test.com/cmo_se_dice
并删除西班牙语字符


在将url添加到代码段之前,是否有一种特殊的方法来处理它?

Stumbleupon实际上是正确的

这个

在将URL传递给徽章之前,您需要删除该URL,或者删除该特殊字符

百分比编码将导致以下情况:

有一个在线转换器可以玩

http://www.test.com/¿cómo_se_dice