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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 29 17:06:30 EST 2009


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

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


--- Comment #2 from Peter Stockli <peter.stoeckli at fsemobile.ch> 2009-12-29 22:06:25 UTC ---
I was wrong!

This is an awful new bug and I'm pretty sure it didn't exist in previous
versions.

I tested it like that:
1.) UITextField
2.) Write: u:öäüéèà
3.) Read out that UITextfield (should actually return the unicode-values):

string mstr = textField.Text;
foreach (char c in mstr) {
    UInt16 mint = (UInt16) c;
    Console.Write(mint + ",");
}

117,58,63,63,63,63,63,63,63,63,63,63,63,63,

As you can see it represents the non special chars u (117) and : (63)
correctly.
But the other chars are represented as two question marks (per char).

This should be a very high priority bug!

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