]> git.pld-linux.org Git - packages/mono.git/blob - mono-console-no-utf8-bom.patch
- updated to 3.2.8
[packages/mono.git] / mono-console-no-utf8-bom.patch
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;
This page took 0.075918 seconds and 3 git commands to generate.