× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






Hello,

      I have a web application that is supposed to take in UTF-8 characters
off a HTML Form.
It is running on Tomcat 3.2.4 with Java 1.3 on the iSeries.
The problem is that when non-english characters are input into the form,
they are encoded incorrectly on the submit.
 When the code tries to decode the parameter it comes back garbage.
>From my research I discovered that if you specify <DecodeInterceptor
defaultEncoding="UTF-8" />
in the server.xml file tomcat should use the specified encoding for
parameters.
This solution works wonderfully when i run the application on my local
windows tomcat server (3.3),
but when i move the application to the iSeries it still fails.

I've also tried setting the default encoding to UTF-8 in my Apache server,
and tried Tomcat running both in and out of process.   Nothing works.
Anybody have any suggestions?

Moving to newer version of tomcat is not an option, nor can I upgrade the
version of Java.

David Just
Software Engineer
Lakeview Technology
justd@xxxxxxxxxxxxxxxx




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.