https://bugzilla.novell.com/show_bug.cgi?id=634331
https://bugzilla.novell.com/show_bug.cgi?id=634331#c0 Summary: Character encoding problem when setting the Text property of TextBox Classification: Mono Product: Mono: Class Libraries Version: 2.4.x Platform: i386 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=385275) --> (http://bugzilla.novell.com/attachment.cgi?id=385275) A short C# program for testing Description of Problem: When setting the text of a TextBox control using the Text property to a string containing unicode characters, the text will be displayed incorrectly. (Rectangles meaning invalid characters will be displayed instead.). Characters with ascii values below 128 are displayed correctly. Steps to reproduce the problem: 1. Compile the short &# program (attachment) (eg. gmcs test01.cs -out:test01.exe -reference:System.Windows.Forms) 2. Execute the .exe file using mono Actual Results: When execcuting the compiled program, the following text will be displayed: xy (two rectangles) (two reactangles) When the text is copied to an other application: xy áé úó (probably related to UTF-8 encoding) Expected Results: The program should display xy áé úó How often does this happen? Always Additional Information: The characters are shown correctly if I execute the same .exe file on Windows XP using Microsoft .NET. -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
