[Mono-bugs] [Bug 75344][Wis] Changed - SerializationException
reading .resx file
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jun 27 06:43:24 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 lluis at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75344
--- shadow/75344 2005-06-21 16:00:26.000000000 -0400
+++ shadow/75344.tmp.18737 2005-06-27 06:43:24.000000000 -0400
@@ -1,22 +1,22 @@
Bug#: 75344
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details: Redhat 9
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: karl at waclawek.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
+Cc: gonzalo at ximian.com,sebastien at ximian.com
Summary: SerializationException reading .resx file
Description of Problem:
I wrote a small routine to convert .resx files to .resources format.
It used to work on mono 1.1.4, but stopped working now on version 1.1.8.
@@ -98,6 +98,30 @@
System.String resourceTarget)
------- Additional Comments From karl at waclawek.net 2005-06-21 16:00 -------
Created an attachment (id=15358)
MS resource file
+
+------- Additional Comments From lluis at ximian.com 2005-06-27 06:43 -------
+Looks like this is a regression origined by the changes in
+FromBase64String. It is giving wrong results if the string begins with
+spaces. For example:
+
+using System;
+
+public class Test
+{
+ public static void Main ()
+ {
+ byte[] bb = new byte[] { 1, 2, 3};
+ string s = Convert.ToBase64String (bb);
+ bb = Convert.FromBase64String (" " + s);
+ foreach (byte b in bb)
+ Console.Write (b + " ");
+ }
+}
+
+This should write: 1 2 3
+But writes: 96 198 160
+
+CCing gonzalo, sebastien
More information about the mono-bugs
mailing list