zoukankan
html css js c++ java
url encode decode for rails3
2008
-
04
-
29
rails url编码
刚才在群里,一个人问url编码,偶查了下
require 'net/http'
s= URI.escape('东京爱情故事')
puts s
puts URI.unescape(s)
ubuntu新建一个链接
16:32
浏览 (511)
评论
(2)
分类:
ruby
相关推荐
评论
2 楼
Hooopo
2009-05-04
引用
你这对吗??
偶怎么觉得是
Ruby代码
require
'cgi'
url=
"http://www.baidu.com/dsf sdf f f"
url=CGI:
:escape
(url)
#=> "http%3A%2F%2Fwww.baidu.com%2Fdsf+sdf+f+f"
CGI:
:unescape
(url)
#=> "http://www.baidu.com/dsf sdf f f"
1 楼
leasonyang
2008-04-30
引用
在netbeans下好像还是会生成乱码
以上执行后
%E4%B8%9C%E4%BA%AC%E7%88%B1%E6%83%85%E6%95%85%E4%BA%8B
涓滀含鐖辨儏鏁呬簨
不知道是netbeans的问题还是 其他什么问题
查看全文
相关阅读:
《C++ 并发编程》- 第1章 你好,C++的并发世界
30分钟,让你成为一个更好的程序员
程序员技术练级攻略
谈新技术学习方法-如何学习一门新技术新编程语言
计算机科学中最重要的32个算法
程序员学习能力提升三要素
一位在MIT教数学的老师总结了十条经验
学习算法之路
十个顶级的C语言资源助你成为优秀的程序员
Linux中LoadAverage分析
原文地址:https://www.cnblogs.com/lexus/p/1910687.html
最新文章
软件工程--瀑布模型
浅谈Spring的两种配置容器
java web高级编程 笔记1
session相关
服务器日志查看
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'blog.t_blog.addTime' which is not functi
springboot项目部署运行(后台);端口被占用;
h2数据库 安装部署
Spring容器管理对象和new对象
web静态资源的访问(笔记)
热门文章
IE浏览器的判断
animate和scrollTop的使用
MessageDigest和DigestUtils加密算法
远程访问
Eclipse如何删除插件
Hibernate的配置文件 Hibernate.cfg.xml与xxx.hbm.xml
中文正则表达式匹配 [u4e00-u9fa5]
原型模式 private static Map<String,Prototype> map = new HashMap<String,Prototype>();
各种jar包下方法的使用
12个有趣的C语言面试题
Copyright © 2011-2022 走看看
评论
偶怎么觉得是
以上执行后
%E4%B8%9C%E4%BA%AC%E7%88%B1%E6%83%85%E6%95%85%E4%BA%8B
涓滀含鐖辨儏鏁呬簨
不知道是netbeans的问题还是 其他什么问题