[Mono-bugs] [Bug 78477][Nor] New - outputs 0xbbef before anything else to console with UTF8 locales (byte order mark?)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 21 13:05:30 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by slomo at ubuntu.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78477

--- shadow/78477	2006-05-21 13:05:30.000000000 -0400
+++ shadow/78477.tmp.4640	2006-05-21 13:05:30.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 78477
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: slomo at ubuntu.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: outputs 0xbbef before anything else to console with UTF8 locales (byte order mark?)
+
+Hi,
+when running the short hello world program below 0xbbef is printed on the
+console but definitely shouldn't. This is with de_DE.UTF-8 as locale and
+mono 1.1.13.6 (but earlier version had this problem too).
+
+./test.exe | hexdump -n4
+0000000 bbef 66bf
+0000004
+
+
+LC_ALL=de_DE ./test.exe | hexdump -n2
+0000000 6f66
+0000002
+
+This may be related to bug #52101 which was fixed ages ago.
+
+Bye
+
+Ubuntu Bug: https://launchpad.net/distros/ubuntu/+source/mono/+bug/45702
+
+-------------------------
+
+using System;
+
+public class Test {
+
+        public static void Main(string[] args) {
+                Console.WriteLine("foo");
+        }
+}


More information about the mono-bugs mailing list