# File lib/oauth/helper.rb, line 11
    def escape(value)
      URI::escape(value.to_s.to_str, OAuth::RESERVED_CHARACTERS)
    rescue ArgumentError
      URI::escape(value.to_s.to_str.force_encoding(Encoding::UTF_8), OAuth::RESERVED_CHARACTERS)
    end