Bug 208718 Exception is thrown out when exported data with column's data type [0002]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
}
	}
	/**
	 * CSV format convertor. Here is the rule.
	 * 
	 * 1) Fields with given separator must be delimited with double-quote
	 * characters. 2) Fields that contain double quote characters must be
	 * surounded by double-quotes, and the embedded double-quotes must each be
	 * represented by a pair of consecutive double quotes. 3) A field that
	 * contains embedded line-breaks must be surounded by double-quotes. 4)
	 * Fields with leading or trailing spaces must be delimited with
	 * double-quote characters.
	 * 
	 * @param value
	 * @param sep
	 * @return the csv format string value
	 * @throws RemoteException
	 */
	private String csvConvertor( String value, char sep )
			throws RemoteException
	{
		if ( value == null )
		{
			return null;
		}
		value = value.replaceAll( "\"", "\"\"" ); 
		boolean needQuote = false;
		needQuote = ( value.indexOf( sep ) != -1 )
				|| ( value.indexOf( '"' ) != -1 )
				|| ( value.indexOf( 0x0A ) != -1 )