By the way, if the following link is correct, then I believe my suggested patch would be necessary.
It seems as though the attempt by the filter to set the charset is useless when uploading a file. "Character transcoding is NOT performed for forms that are enctype="multipart/form-data"." -- that is what the person concluded at least. http://www.mail-archive.com/tomcat- [EMAIL PROTECTED]/msg91586.html Anyway, for simplicity sake, I suggest modifying the multipart attribute of the dbforms tag. If a value such as "UTF-8" is used instead of true, we turn multipart on and convert the parameters to UTF-8 or whatever is specified in the tag. "true" of course would use system default. > public String getParameter(String name) { > try { > Vector values = (Vector) parameters.get(name); > > if ((values == null) || (values.size() == 0)) { > return null; > } > > String value = (String) values.elementAt(0); > //patch > value = new String(value.getBytes("UTF-8")); //The other possibility may be that we need to use -- could you try it out and let me know value = new String(value.getBytes("ISO-8859-1"),"UTF-8"); > //patch over > return value; > } catch (Exception e) { > return null; > } > } > -- Shawn <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms