相关疑难解决方法(0)

如何编码URL中的加号(+)符号

下面的URL链接将打开一个新的Google邮件窗口.我遇到的问题是Google用空格替换了电子邮件正文中的所有加号(+).看起来它只发生在+符号上.有关如何解决这个问题的任何建议?(我正在使用ASP.NET网页)

https://mail.google.com/mail?view=cm&tf=0&to=someemail@somedomain.com&su=some subject&body =你好+那里你好

(在正文电子邮件中,"你好+你好那里"将显示为"你好你好那里")

asp.net gmail html-encode urlencode c#-4.0

55
推荐指数
4
解决办法
8万
查看次数

标签 统计

asp.net ×1

c#-4.0 ×1

gmail ×1

html-encode ×1

urlencode ×1