Encoding

Their are different types of Encoding in Ruby. And you could find it http://ruby-doc.org/core-2.2.0/Encoding.html. But I include some parsing for these encodings. For example, by using CGI Encoding. I used it to parse the string with this format Hello+World. If you use CGI Encoding, you can parse this asynchronously. Here is the example: CGI
  
  
 str = 'Hello+World'
 require 'cgi'
 CGI.unescape(str)
 CGI.escape(str)
  

No comments:

Post a Comment