use iso-8859-1 as default encoding

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-10-20 13:46:51 +00:00
parent 601a6d1cc5
commit 9891e5609d

View File

@@ -50,7 +50,8 @@ wxHtmlWinParser::wxHtmlWinParser(wxHtmlWindow *wnd) : wxHtmlParser()
m_CharHeight = m_CharWidth = 0;
m_UseLink = FALSE;
m_EncConv = NULL;
m_InputEnc = m_OutputEnc = wxFONTENCODING_DEFAULT;
m_InputEnc = wxFONTENCODING_ISO8859_1;
m_OutputEnc = wxFONTENCODING_DEFAULT;
{
int i, j, k, l, m;
@@ -164,7 +165,7 @@ void wxHtmlWinParser::InitParser(const wxString& source)
void wxHtmlWinParser::DoneParser()
{
m_Container = NULL;
SetInputEncoding(wxFONTENCODING_DEFAULT); // for next call
SetInputEncoding(wxFONTENCODING_ISO8859_1); // for next call
wxHtmlParser::DoneParser();
}