Function encodeURIComponentAll

  • convert UTF8 hexadecimal string to a URLComponent string such like "%67%68".

    Parameters

    • u8: string

      UTF8 hexadecimal string

    Returns string

    URIComponent string such like "%67%68"

    Description

    Note that these "0-9A-Za-z!'()*-._~" characters will not converted to "%xx" format by builtin 'encodeURIComponent()' function. However this 'encodeURIComponentAll()' function will convert all of characters into "%xx" format.