Created
January 20, 2013 18:27
-
-
Save fernyb/4580500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URI.encode("hello world") #=> "hello%20world" | |
CGI.escape("hello world") #=> "hello+world" | |
CGI.escape("Hello~world") #=> "Hello%7Eworld" | |
URI.encode("Hello~world") #=> "Hello~world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment