1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Mon Aug 26 22:18:38 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Tue Aug 27 11:41:39 2013 -0700 1.3 @@ -53,6 +53,8 @@ 1.4 */ 1.5 public abstract class HtmlDocWriter extends HtmlWriter { 1.6 1.7 + public static final String CONTENT_TYPE = "text/html"; 1.8 + 1.9 /** 1.10 * Constructor. Initializes the destination file name through the super 1.11 * class HtmlWriter. 1.12 @@ -194,7 +196,7 @@ 1.13 head.addContent(headComment); 1.14 } 1.15 if (configuration.charset.length() > 0) { 1.16 - Content meta = HtmlTree.META("Content-Type", "text/html", 1.17 + Content meta = HtmlTree.META("Content-Type", CONTENT_TYPE, 1.18 configuration.charset); 1.19 head.addContent(meta); 1.20 }