[Mono-bugs] [Bug 473899] UnicodeEncoding.Unicode.GetString allows invalid code points through

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 31 03:01:35 EDT 2010



--- Comment #4 from Kornél Pál <kornelpal at gmail.com> 2010-08-31 07:01:33 UTC ---
The bug is still present. As long as UnicodeEncoding.cs is doing mere byte
copy, it will be present.

The current implementation is compatible with MS.NET 1.x and is very fast.

MS.NET 2.0 however implemented fallbacks (most other encodings as well in Mono
lack support for that) and added support for detecting invalid code point even
in UnicodeEncoding.

I also believe that retaining the current UnicodeEncoding at some other place
would make sense because of its superior performance and simplicity.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list