[Mono-bugs] [Bug 64691][Nor] Changed - Unicode character bug
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jul 31 15:43:34 EDT 2005
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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=64691
--- shadow/64691 2005-04-23 15:28:02.000000000 -0400
+++ shadow/64691.tmp.24284 2005-07-31 15:43:34.000000000 -0400
@@ -1,16 +1,16 @@
Bug#: 64691
-Product: Mono: Compilers
+Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
-Component: C#
+Component: CORLIB
AssignedTo: rharinath at novell.com
ReportedBy: marek.safar at seznam.cz
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
@@ -73,6 +73,28 @@
LITERAL_INTEGER LI
TERAL_FLOAT LITERAL_DOUBLE LITERAL_DECIMAL LITERAL_CHARACTER
LITERAL_STRING IDEN
TIFIER
UnicodeCharEscapeTest.cs(8) error CS1002: Expecting `;'
Compilation failed: 2 error(s), 0 warnings
+
+------- Additional Comments From atsushi at ximian.com 2005-07-31 15:43 -------
+This seems to be problem in Encoding.UTF8.GetString()
+
+using System;
+using System.Text;
+
+public class Test
+{
+ public static void Main ()
+ {
+ byte [] data = new byte [] {0xEF, 0xBB, 0xBF};
+ foreach (char c in Encoding.UTF8.GetString (data))
+ Console.WriteLine ("{0:X04}", (int) c);
+ }
+}
+
+expected output:
+FEFF
+
+actual output:
+(nothing)
More information about the mono-bugs
mailing list