wxString title = m_WParser->GetSource()->Mid(
tag.GetBeginPos(),
tag.GetEndPos1()-tag.GetBeginPos());
+#if !wxUSE_UNICODE
+ wxCSConv conv(m_WParser->GetInputEncoding());
+ title = wxString(title.wc_str(conv), wxConvLocal);
+#endif
title = m_WParser->GetEntitiesParser()->Parse(title);
wfr->OnSetTitle(title);
}