* Mir.java - main servlet, that dispatches to servletmodules\r
*\r
* @author $Author: zapata $\r
- * @version $Id: Mir.java,v 1.42 2003/04/09 02:06:06 zapata Exp $\r
+ * @version $Id: Mir.java,v 1.43 2003/04/12 15:29:43 zapata Exp $\r
*\r
*/\r
public class Mir extends AbstractServlet {\r
//FIXME: this seems kind of hackish and only here because we can have\r
// default other than the one that the browser is set to.\r
Locale locale = new Locale(getDefaultLanguage(aRequest), "");\r
- MessageResources messageResources =\r
- MessageResources.getMessageResources("bundles.admin");\r
- String htmlcharset = messageResources.getMessage(locale, "htmlcharset");\r
+ String htmlcharset = "UTF-8";\r
+ try {\r
+ htmlcharset = MirPropertiesConfiguration.instance().getString("Mir.DefaultHTMLCharset");\r
+ }\r
+ catch (Throwable t) {\r
+ }\r
\r
aResponse.setContentType("text/html; charset=" + htmlcharset);\r
\r
# also used for the HTML charset meta tag.
Mir.DefaultEncoding=UTF8
+# this encoding is used for the HTML charset meta tag.
+# it must be the html charset equivalent of the Java encoding above
+# don't change this unless...
+Mir.DefaultHTMLCharset=UTF-8
+
+
#