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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: -Cc: +Cc: [EMAIL PROTECTED],[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 2005-06-21 16:00 ------- Created an attachment (id=15358) MS resource file + +------- Additional Comments From [EMAIL PROTECTED] 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 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
