[Mono-bugs] [Bug 547902] New: EUC-JP decoding does not throw error when decoding a iso-8859-1 a string

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 17 06:20:34 EDT 2009


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


           Summary: EUC-JP decoding does not throw error when decoding a
                    iso-8859-1 a string
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          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: ---


Created an attachment (id=322968)
 --> (http://bugzilla.novell.com/attachment.cgi?id=322968)
encoding.cs

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

If I encode a string with iso-8859-1 encoding and then try to decode the byte
array with the EUC-JP encoding it does not throw an exception.

Reproducible: Always

Steps to Reproduce:
1. gmcs encoding.cs
2. mono encoding.exe
Actual Results:  
the string "F・ fattare" is written to the console

Expected Results:  
A DecodeExceptionFallback exception should have been thrown.

-- 
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