Bug 166307 Thai font in csv/excel export
I run birt-viewer 2.1.1 and export data to csv format, birt can generate correct but in field of thai font birt display font that cannot understand. I need to fix this ploblem quickly to close my project, please anyone help me. Thanks you very much for your solution. Sudhlo
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
for ( int k = 0; k < resultSets.size( ); k++ )
				{
					resultSetArray[k] = new ResultSet( );
					IResultSetItem resultSetItem = (IResultSetItem) resultSets.get( k );
					assert resultSetItem != null;
					resultSetArray[k].setQueryName( resultSetItem.getResultSetName( ) );
					IResultMetaData metaData = resultSetItem.getResultMetaData( );
					assert metaData != null;
					Column[] columnArray = new Column[metaData.getColumnCount( )];
					for ( int i = 0; i < metaData.getColumnCount( ); i++ )
					{
						columnArray[i] = new Column( );
						String name = metaData.getColumnName( i );
						columnArray[i].setName( name );
						String label = metaData.getColumnLabel( i );
						if ( label == null || label.length( ) <= 0 )
						{
							label = name;
						}
						columnArray[i].setLabel( label );
						columnArray[i].setVisibility( new Boolean( true ) );
					}
					resultSetArray[k].setColumn( columnArray );
				}
			}
		}
		catch ( BirtException e )
		{
			e.printStackTrace( );
			AxisFault fault = new AxisFault( e.getLocalizedMessage( ) );