# File lib/uri_template/utils.rb, line 174
        def escape_uri(s)
          to_utf8(s.to_s).gsub(URI_ESCAPED){
            '%'+$1.unpack('H2'*$1.bytesize).join('%').upcase
          }
        end