added more encoding examples
awesome ruby method :D