The R Project SVN R

Rev

Rev 83003 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83003 Rev 89998
Line 21... Line 21...
21
  \item{repeated}{logical: should apparently already-encoded URLs be
21
  \item{repeated}{logical: should apparently already-encoded URLs be
22
    encoded again?}
22
    encoded again?}
23
}
23
}
24
\details{
24
\details{
25
  Characters in a URL other than the English alphanumeric characters and
25
  Characters in a URL other than the English alphanumeric characters and
26
  \samp{- _ . ~} should be encoded as \code{\%}
26
  \samp{- _ . ~} should be encoded as \samp{\%}
27
  plus a two-digit hexadecimal representation, and any single-byte
27
  plus a two-digit hexadecimal representation, and any single-byte
28
  character can be so encoded. (Multi-byte characters are encoded
28
  character can be so encoded. (Multi-byte characters are encoded
29
  byte-by-byte.)  The standard refers to this as \sQuote{percent-encoding}.
29
  byte-by-byte.)  The standard refers to this as \sQuote{percent-encoding}.
30
 
30
 
31
  In addition, \samp{! $ & ' ( ) * + , ; = : / ? @ # [ ]} are reserved
31
  In addition, \samp{! $ & ' ( ) * + , ; = : / ? @ # [ ]} are reserved
Line 33... Line 33...
33
  which is scheme specific.  The default in \code{URLencode} is to leave
33
  which is scheme specific.  The default in \code{URLencode} is to leave
34
  them alone, which is appropriate for \samp{file://} URLs, but probably
34
  them alone, which is appropriate for \samp{file://} URLs, but probably
35
  not for \samp{http://} ones.
35
  not for \samp{http://} ones.
36
 
36
 
37
  An \sQuote{apparently already-encoded URL} is one containing
37
  An \sQuote{apparently already-encoded URL} is one containing
38
  \code{\%xx} for two hexadecimal digits.
38
  \samp{\%xx} for two hexadecimal digits.
39
}
39
}
40
\value{
40
\value{
41
  A character vector.
41
  A character vector.
42
}
42
}
43
\references{
43
\references{