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:
@@ -50,7 +50,8 @@ wxHtmlWinParser::wxHtmlWinParser(wxHtmlWindow *wnd) : wxHtmlParser()
|
|||||||
m_CharHeight = m_CharWidth = 0;
|
m_CharHeight = m_CharWidth = 0;
|
||||||
m_UseLink = FALSE;
|
m_UseLink = FALSE;
|
||||||
m_EncConv = NULL;
|
m_EncConv = NULL;
|
||||||
m_InputEnc = m_OutputEnc = wxFONTENCODING_DEFAULT;
|
m_InputEnc = wxFONTENCODING_ISO8859_1;
|
||||||
|
m_OutputEnc = wxFONTENCODING_DEFAULT;
|
||||||
|
|
||||||
{
|
{
|
||||||
int i, j, k, l, m;
|
int i, j, k, l, m;
|
||||||
@@ -164,7 +165,7 @@ void wxHtmlWinParser::InitParser(const wxString& source)
|
|||||||
void wxHtmlWinParser::DoneParser()
|
void wxHtmlWinParser::DoneParser()
|
||||||
{
|
{
|
||||||
m_Container = NULL;
|
m_Container = NULL;
|
||||||
SetInputEncoding(wxFONTENCODING_DEFAULT); // for next call
|
SetInputEncoding(wxFONTENCODING_ISO8859_1); // for next call
|
||||||
wxHtmlParser::DoneParser();
|
wxHtmlParser::DoneParser();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user