Bug 143671 [Linux-As][Smoke]Parameter can't be used.
Details: [Linux-As]Parameter can't be used. Setp: 1.New a report design. 2.New a paremeter. 3.Preview and click Run Report Parameter. 4.Dialog pop up and press OK. Actual resutl: Report error.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
}
		return isRtl;
	}
	/**
	 * Get report locale from a given string.
	 * 
	 * @param locale
	 *            locale string
	 * @return report locale
	 */
	public static Locale getLocaleFromString( String locale )
	{
		if ( locale == null || locale.length( ) <= 0 )
		{
			return Locale.getDefault( );
		}
		int index = locale.indexOf( '_' );
		if ( index != -1 )
		{
			String language = locale.substring( 0, index );
			String country = locale.substring( index + 1 );
			return new Locale( language, country );
		}
		return new Locale( locale );
	}
	/**
	 * Get report locale in string.
	 * 
	 * @param request
	 *            http request