Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /win32/ScintillaWin.cxx [7011e1] .. [a11253] Maximize Restore

  Switch to side-by-side view

--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -694,7 +694,7 @@
 	}
 	switch (characterSet) {
 	case SC_CHARSET_ANSI: return 1252;
-	case SC_CHARSET_DEFAULT: return 0;
+	case SC_CHARSET_DEFAULT: return documentCodePage;
 	case SC_CHARSET_BALTIC: return 1257;
 	case SC_CHARSET_CHINESEBIG5: return 950;
 	case SC_CHARSET_EASTEUROPE: return 1250;