CGI.escape and CGI.unescape. : HTML « CGI « Ruby






CGI.escape and CGI.unescape.


require 'cgi' 
puts CGI.escape("Nicholas Payton/Trumpet & Flugel Horn") 

 








Related examples in the same category

1.CGI.escapeHTML
2.CGI.escapeElement
3.CGI.unescapeHTML
4.Generating HTML
5.Output a string to web
6.CGI for creating a web page
7.nested cgi.tag to create HTML document
8.Create a hash of HTTP response headers