Bug 200302 Can not link to the specific bookmark as web view[04]
Description: Can not link to the specific bookmark as web view[04] Step: 1. Two labels, which have a page break between them. 2. The second label set the bookmark as "bk\\" 3. The first label set the hyperlink to the internal bookmark to the bookmark that is second label's. 4. Preview as web view and click the hyperlink Actual result: It can not link to the second label.( If use the drill-through, it is work. ) Expected result: It can link to the second label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
}
	/**
	 * 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 null;
		}
		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
	 * @return report String
	 */