Bug 5116 - Can't paste text with upper-ASCII character
Summary: Can't paste text with upper-ASCII character
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-05-16 06:11 UTC by eb1
Modified: 2012-05-24 16:17 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Suggested fix (2.46 KB, patch)
2012-05-16 06:54 UTC, eb1

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description eb1 2012-05-16 06:11:55 UTC
Copy the text 'a-kυ·tιp' to the clipboard and paste it into a text box.

Expected behavior:
textbox shows 'a-kυ·tιp'

Actual behavior:
text doesn't get pasted; textbox shows same as before

The culprit is U+00B7, raised dot, or rather any character in the range U+0080..U+00FF.

The reason is that mono treats the text as UTF-8, but in this case when it comes from an external source it is not UTF-8 encoded but Latin-1.
Comment 1 eb1 2012-05-16 06:54:20 UTC
Created attachment 1900 [details]
Suggested fix
Comment 2 Miguel de Icaza [MSFT] 2012-05-19 00:26:52 UTC
Do you mind sending a pull request?
Comment 3 eb1 2012-05-21 05:10:28 UTC
Pull request #296.
Comment 4 Miguel de Icaza [MSFT] 2012-05-24 16:17:50 UTC