[Mono-bugs] [Bug 77315][Nor] Changed - Invalid Unicode surrogate handling

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 23 10:43:41 EST 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 atsushi at ximian.com.


--- shadow/77315	2006-01-23 09:20:44.000000000 -0500
+++ shadow/77315.tmp.22568	2006-01-23 10:43:41.000000000 -0500
@@ -140,6 +140,12 @@
 this (but in this case I doubt it).
 ------- Additional Comments From pawel.sakowski at mind-breeze.com  2006-01-23 09:20 -------
 I can modify the patch so that UTF8Encoding behaves the RFC way if
 NET_2_0, and otherwise provides the legacy .NET behavior. Shall I?
 What about the UTF7Encoding portion of the patch?
+------- Additional Comments From atsushi at ximian.com  2006-01-23 10:43 -------
+Let's go ahead apply the patch as is. There is a few users who
+incorrectly use UTF8Encoding.GetBytes() to convert string to bytes,
+but such conversions anyways fall in unexpected results, so it should
+not matter.

More information about the mono-bugs mailing list