def double_percent_hex_encoding(t):
    """Double Percent Hex encoding method.

    This is based on the normal method of hex encoding.  The percent
    is encoded using hex encoding followed by the hexadecimal byte
    value to be encoded.

    >>> double_percent_hex_encoding("A")
    '%2541'
    >>> double_percent_hex_encoding("ABC")
    '%2541%2542%2543'
    """
    return "%25" + "%25".join(hex(ord(c))[2:] for c in t)