Topic: 有关java.net.URLEncoder编码空格的问题 |
Print this page |
1.有关java.net.URLEncoder编码空格的问题 | Copy to clipboard |
Posted by: jinni_jia Posted on: 2004-02-09 17:07 我用java.net.URLEncoder进行转换字符串时,该方法把空格转换成了“+”,同时该方法把“+”也转换成了"+",这样在转换后的字符串中,我就没有办法区分原有字符串中的空格和加号了,请问有哪位知道如何解决该问题! |
2.Re:有关java.net.URLEncoder编码空格的问题 [Re: jinni_jia] | Copy to clipboard |
Posted by: Jove Posted on: 2004-02-09 18:30 " "变为"+", "+"变为"%2B" |
3.Re:有关java.net.URLEncoder编码空格的问题 [Re: jinni_jia] | Copy to clipboard |
Posted by: sunsonbaby Posted on: 2004-02-10 12:31 收藏一下 |
4.Re:有关java.net.URLEncoder编码空格的问题 [Re: jinni_jia] | Copy to clipboard |
Posted by: jinni_jia Posted on: 2004-02-10 13:12 多谢多谢!是我看错了。呵呵。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |