copy n paste from Word docs to websites

Soldato
Joined
16 Feb 2004
Posts
4,845
Location
London
Hi,

I'm having some issues with users copying and pasting text from Word docs in to textboxes. Most of the characters such as ? ! etc are getting swapped around once they have been though my code. I'm using asp.net 2 atm.

Any ideas on how to clean these strings up?

Cheers
Dan
 
DanF said:
Hi,

I'm having some issues with users copying and pasting text from Word docs in to textboxes. Most of the characters such as ? ! etc are getting swapped around once they have been though my code. I'm using asp.net 2 atm.

Any ideas on how to clean these strings up?

Cheers
Dan

I copy the text from word, into something like PSpad to strip away all the microsoft formatting. It works, but its long winded. If there is an easier way, I'd love to know it too.
 
Back
Top Bottom