there is the function : decodeURLComponent ,why not encodeURLComponent?

{
    registerFunctionProtocol(factory);
    registerFunctionDomain(factory);
    registerFunctionDomainWithoutWWW(factory);
    registerFunctionFirstSignificantSubdomain(factory);
    registerFunctionFirstSignificantSubdomainCustom(factory);
    registerFunctionTopLevelDomain(factory);
    registerFunctionPort(factory);
    registerFunctionPath(factory);
    registerFunctionPathFull(factory);
    registerFunctionQueryString(factory);
    registerFunctionFragment(factory);
    registerFunctionQueryStringAndFragment(factory);
    registerFunctionExtractURLParameter(factory);
    registerFunctionExtractURLParameters(factory);
    registerFunctionExtractURLParameterNames(factory);
    registerFunctionURLHierarchy(factory);
    registerFunctionURLPathHierarchy(factory);
    registerFunctionCutToFirstSignificantSubdomain(factory);
    registerFunctionCutToFirstSignificantSubdomainCustom(factory);
    registerFunctionCutWWW(factory);
    registerFunctionCutQueryString(factory);
    registerFunctionCutFragment(factory);
    registerFunctionCutQueryStringAndFragment(factory);
    registerFunctionCutURLParameter(factory);
    registerFunctionDecodeURLComponent(factory);
    registerFunctionNetloc(factory);
}
}