[Mono-dev] Bug in (and patch for) UTF32Encoding.GetBytes()

David Mitchell dmitchell at logos.com
Tue Feb 3 19:53:01 EST 2009


I discovered today that UTF32Encoding.GetByteCount() will report the wrong result anytime that the start index is nonzero. Attached is a patch to fix the issue. Would someone mind reviewing/committing it?

Thanks,
--Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090203/a2c59fc4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UTF32Encoding.patch
Type: application/octet-stream
Size: 591 bytes
Desc: UTF32Encoding.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090203/a2c59fc4/attachment-0001.obj 


More information about the Mono-devel-list mailing list