I have a Web site with a message board. The board lets people post messages and include attachments. I had a problem where my site was hiccuping every time someone wrote a post with non-Unicode characters. In an effort to solve it, I changed my HTML form code from
enctype="multipart/form-data"
(as I'm accepting file uploads) to:
enctype="multipart/form-data;charset=UTF-8"
This solved the character problem. But it broke the file upload capability in Firefox 2 through 3.5. Firefox accepts all the text that the user submits, but not the file data. It acts totally like it should, but as if there was no file submitted. Everything works fine in Safari.
I also tried
enctype="multipart/form-data" accept-charset="UTF-8"
...but that had no effect on the character problem.
Any ideas for ways around this?