Bug 179636 [Smoke] Chart can not be previewed [0001]
Description: Chart can not be previewed Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1. New a chart, preview. Expected result: Chart is displayed correctly. Actual result: Chart can not be previewed. Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
}
		}
		sHtmlEncoded = sbHtmlEncoded.toString( );
		return sHtmlEncoded;
	}
	/**
	 * This function is used to decode a htmlEncoded string and convert to the
	 * orginial string
	 * 
	 * @param s
	 * @return String
	 */
	public static final String htmlDecode( String s )
	{
		if ( s == null )
			return null;
		String sHtmlDecoded = s.replaceAll( "&#09;", "\t" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "<br>", "\n" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#13;", "\r" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#32;", " " );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#34;", "\"" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#39;", "'" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#60;", "<" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#62;", ">" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#96;", "`" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#38;", "&" );
		return sHtmlDecoded;
	}
	/**
	 * Initial the parameters class. Web.xml is in UTF-8 format. No need to do