+ // add meta tag if we obtained this through http:
+ if (file.GetMimeType().Find(_T("; charset=")) == 0)
+ {
+ wxString s(_T("<meta http-equiv=\"Content-Type\" content=\""));
+ s << file.GetMimeType() << _T("\">");
+ return s;
+ }
+
+ else return doc;