]>
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))) | |
9 | + if (code_page == UTF8Encoding.UTF8_CODE_PAGE || ((code_page & 0x10000000) != 0)) | |
10 | inputEncoding = outputEncoding = Encoding.UTF8Unmarked; | |
11 | else | |
12 | inputEncoding = outputEncoding = Encoding.Default; |