tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Problem with file upload corruption.
Date Tue, 30 Aug 2005 02:03:01 GMT
We have a JSP/servlet combo that uses the OReilly MultiPartRequest to
upload a users HTML template for our application. Invariably they end up
with some unusual characters in their template - sometimes from pasting in
text from MS Word or other similar application.

For some reason a single character (e.g. x092 a "right single quotation
mark") is turned into multiple special characters after it is uploaded.
When we download it  we use 
and the mangled file downloads "fine" (i.e. without change)>

Here is an example - the right single quotation marka backward single quote
comes right after the paragraph tag (<p>).

BEFORE upload
<p>’Some text.

AFTER upload
<p>�Some text.

I have read the file upload RFC 1867 until I'm blue in the face, and
Googled on and off the site. There were reported binary upload
problems using the warp connector to connect Tomcat 4.0 and Apache. But we
are using Tomcat 4.1.18.

Any ideas or suggestion are appreciated.

Thank you - Richard

mail2web - Check your email from the web at .

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message