Bug 144577 Print in Web Viewer doesn't work in Linux
Description: Print in Web Viewer doesn't work in Linux Steps to reproduce: 1. New a report 2. Preview in Web Viewer and click Print button Expected result: Page is printed Actual result: Nothing happened.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/BirtUtility.java
if ( errorMessage != null )
		{
			message += ParameterAccessor.htmlEncode( new String( errorMessage
					.getBytes( "ISO-8859-1" ), "UTF-8" ) ); 
		}
		else
		{
			message += "Unknown error!"; 
		}
		message += "<br>\n"; 
		message += "<pre id=\"error_detail\" style=\"display:none;\" >\n";
		message += getDetailMessage( e );
		message += "</pre>\n"; 
		message += "</div>\n"; 
		message += "</body>\n</html>"; 
		out.write( message.getBytes( ) );
		out.flush( );
		out.close( );
	}
	/**
	 * Returns the detail message of exception
	 * 
	 * @param tx
	 * @return
	 */
	public static String getDetailMessage( Throwable tx )
	{
		StringWriter out = new StringWriter( );
		PrintWriter print = new PrintWriter( out );
		try