Bug 145491 [deployment]BIRT_VIEWER_LOCALE in web.xml doesn't work
Description: BIRT_VIEWER_LOCALE in web.xml doesn't work Steps to reproduce: 1. Deploy birt 2. Set ko_kr to BIRT_VIEWER_LOCALE inside web.xml file 3. Start application server and preview report. Expected result: The default locale for report should be ko_kr Actual result: The report still used en_us locale to display datetime data.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
case '>' :
					sbHtmlEncoded.append( "&#62;" ); 
					break;
				case '`' :
					sbHtmlEncoded.append( "&#96;" ); 
					break;
				case '&' :
					sbHtmlEncoded.append( "&#38;" ); 
					break;
				default :
					sbHtmlEncoded.append( c );
			}
		}
		sHtmlEncoded = sbHtmlEncoded.toString( );
		return sHtmlEncoded;
	}
	/**
	 * Initial the parameters class. Web.xml is in UTF-8 format. No need to do
	 * encoding convertion.
	 * 
	 * @param config
	 *            Servlet configuration
	 */
	public synchronized static void initParameters( ServletConfig config )
	{
		
		ServletContext context = config.getServletContext( );
		workingFolder = context.getInitParameter( INIT_PARAM_REPORT_DIR );
		if ( workingFolder == null || workingFolder.trim( ).length( ) <= 0 )
		{