[Mono-bugs] [Bug 408381] New: Some characters are not encoded properly using cp1252

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 11 10:22:18 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=408381


           Summary: Some characters are not encoded properly using cp1252
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jonathan.gagnon at croesus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=227323)
 --> (https://bugzilla.novell.com/attachment.cgi?id=227323)
Small test program that reproduces the bug.

Description of Problem:
When using the cp1252 encoding, each character should be encoded as one
character.  Right now, some characters are encoded as 2 characters, but the
total encoded length is not changed which means that the last characters of the
string are lost.

Steps to reproduce the problem:
1. Run the attached program.


Actual Results:
The program outputs :
39,39
63,63
146,39

Expected Results:
39,39
63,63
39,39

How often does this happen? 
Always

Additional Information:


-- 
Configure bugmail: https://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