Bug 146723 In BIRT Report Viewer (the Web Viewer), a grouped report displays incorrect characters in the TOC
Eclipse 3.2.0 Build id: I20060602-1317 BIRT Report Designer version 2.1.0.N20060612-0630 Build id: 200606120630 In BIRT Report Viewer (the Web Viewer), a grouped report displays incorrect characters in the TOC. Steps to reproduce: 1 Open the attached Customers_grouped.rptdesign in BIRT Report Designer. 2 Choose File-->View Report in Web Viewer. 3 Choose Toggle table of contents. The table of contents displays incorrect characters for the ranges of values.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractGetTOCActionHandler.java
TOC toc = new TOC( );
		List children = __node.getChildren( );
		if ( children != null && children.size( ) > 0 )
		{
			TOC[] childTOCNodes = new TOC[children.size( )];
			for ( int i = 0; i < children.size( ); i++ )
			{
				ToC child = ( ToC ) children.get( i );
				childTOCNodes[i] = new TOC( );
				childTOCNodes[i].setId( child.getID( ) );
				childTOCNodes[i].setDisplayName( ParameterAccessor
						.htmlEncode( child.getDisplayName( ) ) );
				childTOCNodes[i].setBookmark( child.getBookmark( ) );
				childTOCNodes[i].setIsLeaf( new Boolean(
						child.getChildren( ) == null
								|| child.getChildren( ).size( ) <= 0 ) );
			}
			toc.setChild( childTOCNodes );
		}
		Data data = new Data( );
		data.setTOC( toc );
		UpdateData updateData = new UpdateData( );
		updateData.setTarget( "birtToc" ); 
		updateData.setData( data );
		Update update = new Update( );
		update.setUpdateData( updateData );
		response.setUpdate( new Update[] { update } );
	}
}