code: protected String decodeParamValue(String paramName, String paramValue) {
  
          if ((paramName != null) && (paramValue != null)) {
              return CmsEncoder.decode(paramValue, getCms().getRequestContext().getEncoding());
          } else {
              return null;
          }
      }
docs: Decodes an individual parameter value.<p>
  
  In special cases some parameters might require a different-from-default
  encoding. This is the case if the content of the parameter was
  encoded using the JavaScript encodeURIComponent() method on the client,
  which always encodes in UTF-8.<p>
  
  @param paramName the name of the parameter
  @param paramValue the unencoded value of the parameter
  
  @return the encoded value of the parameter