]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/winpars.cpp
Corrected wxFileSystemHandler::GetRightLocation for the case
[wxWidgets.git] / src / html / winpars.cpp
index e66c242518a26857752ab15aa1888f34c20e9398..0f7ee8027cf0aab0573417af525cfb481c3b993a 100644 (file)
@@ -468,9 +468,15 @@ void wxHtmlWinParser::SetInputEncoding(wxFontEncoding enc)
     else if (wxFontMapper::Get()->GetAltForEncoding(enc, &altnorm, m_FontFaceNormal, FALSE))
         m_OutputEnc = altnorm;
 
-    // okay, let convert to ISO_8859-1, available always
     else
+    {
+#ifndef __WXMAC__
+        // okay, let convert to ISO_8859-1, available always
         m_OutputEnc = wxFONTENCODING_DEFAULT;
+#else
+        m_OutputEnc = wxLocale::GetSystemEncoding() ;
+#endif
+    }
 
     m_InputEnc = enc;
     if (m_OutputEnc == wxFONTENCODING_DEFAULT)