I'm writing a simple app and i need to access data from clipboard. Data
is in html format and in iso-8859-2 encoding. When i access the data as
text everything is fine, but when i try to access it as html, special
characters are encoded in a weird way. Is this UTF-8 encoding and if so
how do i decode only those characters ? Here is the code i use :
if(Clipboard.GetDataObject().GetDataPresent(DataFo rmats.Html) )
{
html =
Clipboard.GetDataObject().GetData(DataFormats.Html ).ToString();
}