Bug 162830 Bookmark with single quote doesn't work in Web Viewer
Description: Bookmark with single quote doesn't work in Web Viewer Steps to reproduce: 1. Insert two labels, set page break between them. 2. Set bookmark "b'k" to the second label. 3. Define internal bookmark link in the first label. 4. Preview with web viewer/html/pdf, click the link. 5. preview with /preview servlet Expected result: Link works, can link to the second label. Actual result: pdf and /preview servlet can link to target label. Web Viewer(frameset and run servlet) cannot link to target label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
{
			baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( );
		}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );
		}
		if ( baseURL == null )
			baseURL = IBirtConstants.VIEWER_RUN;
		StringBuffer link = new StringBuffer( );
		String reportName = getReportName( context, action );
		if ( reportName != null && !reportName.equals( "" ) ) 
		{
			link.append( baseURL );
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,
						ParameterAccessor.UTF_8_ENCODE ) );
			}
			catch ( UnsupportedEncodingException e1 )
			{
				
			}
			
			String format = action.getFormat( );
			if ( format != null && format.length( ) > 0 )
			{