samsymons/RedditKit.rb — pull request #29 by martydill (2014-10-17 02:28:33+00:00)
Title: Fixed not being able to retrieve the permalink when it contains unicode characters

If you use RedditKit to retrieve a post containing unicode characters, such as http://www.reddit.com/r/RenameMe/comments/1gxyac/이것은_웹_페이지입니다, you won't be able to retrieve the permalink.
The call to URI.join() throws an InvalidURIError.

The fix is to encode the URL before passing it to URI.join().