]>
Commit | Line | Data |
---|---|---|
09fcdbf5 | 1 | --- trunk/mcs/class/corlib/System/Console.cs.old 2006-08-29 18:21:12.473936000 +0200 |
2 | +++ trunk/mcs/class/corlib/System/Console.cs 2006-08-29 18:23:46.607568750 +0200 | |
3 | @@ -97,8 +97,7 @@ | |
4 | int code_page = 0; | |
5 | Encoding.InternalCodePage (ref code_page); | |
6 | ||
7 | - if (code_page != -1 && ((code_page & 0x0fffffff) == 3 // UTF8Encoding.UTF8_CODE_PAGE | |
8 | - || ((code_page & 0x10000000) != 0))) | |
c329e7b6 JB |
9 | + if (code_page == 3 /* UTF8Encoding.UTF8_CODE_PAGE */ || ((code_page & 0x10000000) != 0)) |
10 | inputEncoding = outputEncoding = EncodingHelper.UTF8Unmarked; | |
09fcdbf5 | 11 | else |
c329e7b6 | 12 | inputEncoding = outputEncoding = EncodingHelper.Default; |