J
James Hancock
I'm trying to intercept the clipboard so that I can fix Word's disasterous
HTML that comes through before pasting it into a text box. I just pull the
fragment information from the result that comes back when you ask for the
Text that's of type HTML.
Everything works just great, except when there are accents:
- è - è - ê - ë - à - â - ô - ö - î - ' - ? - ! - ;
If you paste that into word and then paste it into a text box and intercept
the clipboard I get all kinds of weird characters none of which are those
above. If I leave it alone of course it works just fine. It looks like the
Clipboard in .NET is not handling unicode right or something. I'm at a loss.
Anyone have any ideas on how I can get the clipboard of HTML code correctly?
Thanks!
James Hancock
HTML that comes through before pasting it into a text box. I just pull the
fragment information from the result that comes back when you ask for the
Text that's of type HTML.
Everything works just great, except when there are accents:
- è - è - ê - ë - à - â - ô - ö - î - ' - ? - ! - ;
If you paste that into word and then paste it into a text box and intercept
the clipboard I get all kinds of weird characters none of which are those
above. If I leave it alone of course it works just fine. It looks like the
Clipboard in .NET is not handling unicode right or something. I'm at a loss.
Anyone have any ideas on how I can get the clipboard of HTML code correctly?
Thanks!
James Hancock