Base64 and MS Word cutting and pasting.
| From: | Dennis Moore | Date: | Sat, 24 Aug 2002 22:17:03 +0000 |
| Subject: | Base64 and MS Word cutting and pasting. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113982@lists.php.net to get a copy of this message | ||
I have an application which uses the <textarea> tag for users to input data. This works fine.
However, some users are using MS Word to generate the text and then cutting and pasting into the
<textarea>. This works fine as well.
However, I am encountering a problem when the application mails the submitted content. Everything is
viewed fine throught the web. We are MIME encoding the message using base64 functions. The
problem is that not all email clients are decoding the MS Word pasted content properly. Quotes and
apostrophes are not being decoded properly.
I assume the problem is that the MS Word pasted content is not ASCII. I need to convert this
content to ASCII before we encode the MIME message.
Do you have any ideas?
/dkm