我正在尝试使用urlencode对以下内容进行编码:
<t:RequestSecurityTokenResponse xmlns:t
应编码为:
%3Ct%3ARequestSecurityTokenResponse+xmlns%3At
但是,urlencode的结果是这样的:
%26lt%3Bt%3ARequestSecurityTokenResponse+xmlns%3At
我觉得我在这里遗漏了一些非常明显的东西,但是我一直无法弄清楚。有什么建议吗?
编码字符串的开头看起来像