* Console.cs : do not use codepage 28591. It breaks build on
Japanese Windows.
svn path=/trunk/mcs/; revision=142735
+2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
+
+ * Console.cs : do not use codepage 28591. It breaks build on
+ Japanese Windows.
+
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: avoid segv if the pointer is not properly
//
#if NET_2_1
// should never happen since Moonlight does not run on windows
- inputEncoding = outputEncoding = Encoding.GetEncoding (28591);
+ inputEncoding = outputEncoding = Encoding.Default;
#else
try {
inputEncoding = Encoding.GetEncoding (WindowsConsole.GetInputCodePage ());
} catch {
// FIXME: I18N assemblies are not available when compiling mcs
// Use Latin 1 as it is fast and UTF-8 is never used as console code page
- inputEncoding = outputEncoding = Encoding.GetEncoding (28591);
+ inputEncoding = outputEncoding = Encoding.Default;
}
#endif
} else {