简体   繁体   English

在短信中插入哈希符号作为文本

[英]Inserting hash symbol in an sms as text

当功能需要在执行后发送包含哈希符号的短信文本时,我遇到了一个ASP dotnet问题,问题是当在手机中接收到哈希符号后的文本会被截断。

Try encoding the symbol. 尝试对符号进行编码。

For instance : 例如 :

Don't use this ------------ Use this 不要使用此------------使用此

     !              %21
     "              %22
     #              %23

Reference: http://www.w3schools.com/tags/ref_urlencode.asp 参考: http//www.w3schools.com/tags/ref_urlencode.asp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM