[Mono-bugs] [Bug 566488] International Characters in strings show as double question mark "??"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 16 08:44:53 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=566488#c5


--- Comment #5 from Marc Bliem <marc at bliem.name> 2010-01-16 13:44:51 UTC ---
I just installed 1.4.4 and it got woerse.
No the german characters show up but at the end of the string there are now
additional numbers. Also it seems to create memory leaks and application
chrashes some times.

Example code (see attached png):

public override bool FinishedLaunching (UIApplication app, NSDictionary
options)
{
window.MakeKeyAndVisible ();
UILabel label = new UILabel ();
label.Frame = new System.Drawing.RectangleF (0, 0, 320, 200);
label.Text = "öäüÖÄÜß";
// show correct on screen
int length = label.Text.Length;
// result is 11 not 7 like expected
Console.WriteLine (length + "|" + label.Text + "|");
// result: 11|????????|
label.Text = label.Text;
// shows wrong resul see png
window.AddSubview (label);
return true;
}

I have simular results with searchbar.text and placemark results etc.

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


More information about the mono-bugs mailing list