code: public static String getEncodingFileName(String fn) {
          try {
              return URLEncoder.encode(fn, "UTF-8");
          } catch (UnsupportedEncodingException e) {
              throw new ValidationLibException("unSupported fiel encoding : " + e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
          }
      }
docs: Gets encoding file name.
  
  @param fn the fn
  @return the encoding file name