Currently using Qt 4.2.1

I have a document in word format. If I try to use word 2000 to copy some text and paste it in a QTextEdit box in my application, the text will not paste in properly. Randomly throughout the pasted text there will be missing spaces. The same thing happens if I use open office to open the document and copy/paste text, as well as if I save the document as an html file and use firefox. However, if I open the html file in IE the copy/pasting works fine. Similarly, opening the original document in word 97, or wordpad causes the text to copy/paste correctly. This happens under windows 2000 and Xp. Everything seems to work fine under Linux.

There was also an oddity I found. If I select a portion of text and end right at the last '.' in the paragraph, and copy that and paste it into my QTextEdit box, the font size and such will be the same as in the original document. But if I grab an extra new line in the selection, when I paste the text in, the font will be whatever the default font characteristics are for my QTextEdit box. Similarly, if I have a list of bulleted items, just stopping at the last item and copy/pasting causes the last item to not be bulleted, but rather it appears as bolded and appended to the previous bulleted item. Grabbing an extra new line after the last bulleted item causes the copy/paste to function properly.

I'll attempt to use an older version of Qt to see if this is a new problem, but it'll take a while as my windows test box is very slow (~400MHz).

Has anyone else noticed a problem like this? It seems to me that this is a problem with copy/pasting rich text. My current workaround is to open the document in wordpad.