code: private static String translateEncoding(final String encodingName) throws UnsupportedEncodingException
  	{
  		try
  		{
  			String _encoding = encodingName.trim().toLowerCase();
  			String _encodingCode = theEncodingResource.getString(_encoding);
  
  			return _encodingCode;
  		} // try
  		catch (MissingResourceException _exception)
  		{
  			throw new UnsupportedEncodingException(theMessageUnsupportedEncoding + encodingName);
  		} // catch(MissingResourceException _exception)
  		catch (Exception _exception)
  		{
  			throw new UnsupportedEncodingException(theMessageErrorTranslatingEncoding + encodingName);
  		} // catch (Exception _exception)
  	}
docs: Get the java encoding name from a standard encoding name.
  
  @param encodingName
  the standard encoding name, e.g. <code>iso-8859-1</code>
  @return the java encoding name, e.g. <code>ISO_8859_1</code>
  @throws UnsupportedEncodingException
  if a problem occurs.