View Single Post
Old 02-01-2013, 11:51 PM   PM User | #1
Eggweezer
New Coder

 
Join Date: May 2012
Posts: 98
Thanks: 76
Thanked 0 Times in 0 Posts
Eggweezer is an unknown quantity at this point
problem when copying fom "MS Word" to database

I have a form in the user interface of my website, where the user can type in a paragraph and it will display on a page of their website.

It works fine if they just type it in, BUT if if they type their content in "MS Word" and then COPY it into the textarea (in my user input), I get a wierd charactor everyplace there should be a double quote " or a series of periods. I think "Word" does not always output normal asscii characters.

In summary..... Double quotes normally look like this ", whereas copied from “Word”, they look like this ”
And series of periods normally look like this . . . . whereas Word converts them to this ……………

Is there anyway to deal with this? Thank you in advance.
Eggweezer is offline   Reply With Quote