[Mono-bugs] [Bug 549914] New: Encoding.Default does not throw exceptions on fallback

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 25 07:33:06 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=549914


           Summary: Encoding.Default does not throw exceptions on fallback
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: nestalk at googlemail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.3)
Gecko/20090909 SUSE/3.5.3-3.2 Firefox/3.5.3

Encoding.Default is currently set up to use DecoderReplacementFallback and
EncoderReplacementFallback as its fallback functions.

Could this be set up to use DecoderExceptionFallback and
EncoderExceptionFallback instead so that it throws an exception rather than
returning malformed strings.

Net's implementation also throws exceptions on fallback.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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


More information about the mono-bugs mailing list