Bug 212701 Fail to render reportlet in birt:report with div container[0603]
Description: Fail to render reportlet when set container to div in report tab. Build number:2.3.0.v20071212 Steps to reproduce: 1. Deploy birt or create new birt web project. 2. preview attached jsp file. Expected result: Display chart reportlet only. Actual result: Display all report content out. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
if ( s != null )
		{
			try
			{
				UTFString = new String( s.getBytes( ISO_8859_1_ENCODE ),
						UTF_8_ENCODE );
			}
			catch ( UnsupportedEncodingException e )
			{
				UTFString = s;
			}
		}
		return UTFString;
	}
	/**
	 * Convert the string with the given encoding into UTF-8.
	 * 
	 * @param s
	 *            ISO-8895-1 string
	 * @param encoding
	 *            the current encoding of the string
	 * @return the converted UTF-8 string
	 */
	protected static String toUTFString( String s, String encoding )
	{
		String UTFString = s;
		String sourceEncoding = encoding;
		if ( s != null )
		{
			if ( sourceEncoding == null )