[Mono-bugs] [Bug 551225] New: Can't get encoding for ks_c_5061-1987

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 29 21:26:23 EDT 2009


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


           Summary: Can't get encoding for ks_c_5061-1987
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: greg.smolyn at strangeloopnetworks.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=324788)
 --> (http://bugzilla.novell.com/attachment.cgi?id=324788)
Test case to demonstrate failure to get ks_c_5061-1987 codepage

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

ks_c_5061-1987 is a common codepage for korean text, which is effectively an
alias of cp949.

Attempting to do a 

Encoding.GetEncoding("ks_c_5061-1987");

results in an exception on Mono, but not in MS.NET.



Reproducible: Always

Steps to Reproduce:
1.Call Encoding.GetEncoding("ks_c_5061-1987")
2.
3.
Actual Results:  
encoding not supported error in an exception

Expected Results:  
returns the Encoding (same as CP949)

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