Macaulay2 » Documentation
Packages » Macaulay2Doc :: urlEncode
next | previous | forward | backward | up | index | toc

urlEncode -- URL encoding

Synopsis

Description

Encode all of the characters in a URL except for "/", ":", "#", and the "unreserved characters" specified by RFC 3986, i.e., the alphanumeric characters, "-", ".", "_", and "~", using percent-encoding, a "%" followed by two hexadecimal digits representing the ASCII encoding of the character.

i1 : urlEncode "https://en.wikipedia.org/wiki/Gröbner basis"

o1 = https://en.wikipedia.org/wiki/Gr%C3%B6bner%20basis

Ways to use urlEncode :

For the programmer

The object urlEncode is a method function.