睡月花儿

  • Home
  • About
  • coding
  • Tags86
  • Categories7
  • Posts870
  • Sitemap
  • Commonweal 404
  • Search
  • Table of Contents
  • Overview
戛戛Happy

戛戛Happy

后端, 操作系统, 互联网, 程序开发, Linux, 数据库, MySql, Golang, Ruby
RSS
Creative Commons

ruby escape

Posted on 2012-02-06 In Rails , Ruby
require 'cgi'
url = 'http://www.gagahappy.com/美食大下'
url_escape = CGI::escape(url)
url_unescape = CGI::unescape(url_escape)
puts url_escape
puts url_unescape
  • Post author: 戛戛Happy
  • Post link: https://blog.gagahappy.cn/ruby-escape/
  • Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.
后端
rails Rails::OrderedOptions
如何理解ruby中的__FILE__
京ICP备10044755号
© 2009 – 2024 戛戛Happy
Powered by Hexo & NexT.Gemini